Advertisement
mikeg_de

Nginx config command, FastCGI, Mod Page Speed & Purge Cache

Feb 25th, 2014
263
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.21 KB | None | 0 0
  1. # Find full tutorial at: http://mikeg.de/project/cloud-nginx-server-wordpress/
  2.  
  3. ./configure \
  4. --user=root \
  5. --group=root \
  6. --prefix=/etc/nginx \
  7. --sbin-path=/usr/sbin/nginx \
  8. --conf-path=/etc/nginx/nginx.conf \
  9. --error-log-path=/var/log/nginx/error.log \
  10. --http-log-path=/var/log/nginx/access.log \
  11. --pid-path=/var/run/nginx.pid \
  12. --lock-path=/var/run/nginx.lock \
  13. --http-client-body-temp-path=/var/cache/nginx/client_temp \
  14. --http-proxy-temp-path=/var/cache/nginx/proxy_temp \
  15. --http-fastcgi-temp-path=/var/cache/nginx/fastcgi_temp \
  16. --http-uwsgi-temp-path=/var/cache/nginx/uwsgi_temp \
  17. --http-scgi-temp-path=/var/cache/nginx/scgi_temp \
  18. --with-http_realip_module \
  19. --with-http_addition_module \
  20. --with-http_sub_module \
  21. --with-http_dav_module \
  22. --with-http_flv_module \
  23. --with-http_mp4_module \
  24. --with-http_gunzip_module \
  25. --with-http_gzip_static_module \
  26. --with-http_random_index_module \
  27. --with-http_secure_link_module \
  28. --with-http_stub_status_module \
  29. --with-mail \
  30. --with-http_spdy_module \
  31. --with-ipv6 \
  32. --with-http_ssl_module \
  33. --with-mail_ssl_module \
  34. --add-module=$HOME/ngx_pagespeed-1.9.32.2-beta \
  35. --add-module=$HOME/nginx_accept_language_module-master \
  36. --add-module=$HOME/ngx_cache_purge-master
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement