Advertisement
kevin25

Nginx sample configuration for david

Mar 11th, 2013
45
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.90 KB | None | 0 0
  1. ./configure \
  2. --prefix=/opt/nginx \
  3. --conf-path=/etc/nginx/nginx.conf \
  4. --pid-path=/var/run/nginx.pid \
  5. --lock-path=/var/lock/nginx.lock \
  6. --http-log-path=/var/log/nginx/access.log \
  7. --error-log-path=/var/log/nginx/error.log \
  8. --http-client-body-temp-path=/var/lib/nginx/body \
  9. --http-proxy-temp-path=/var/lib/nginx/proxy \
  10. --http-fastcgi-temp-path=/var/lib/nginx/fastcgi \
  11. --http-uwsgi-temp-path=/var/lib/nginx/uwsgi \
  12. --http-scgi-temp-path=/var/lib/nginx/scgi \
  13. --with-http_stub_status_module \
  14. --with-http_ssl_module \
  15. --with-http_realip_module \
  16. --with-http_gzip_static_module \
  17. --user=apache \
  18. --group=apache \
  19. --without-mail_pop3_module \
  20. --without-mail_imap_module \
  21. --without-mail_smtp_module \
  22. --add-module=modules/nginx-sticky-module \
  23. --add-module=modules/nginx_upstream_check_module \
  24. --add-module=modules/nginx-upstream-fair \
  25. --with-ipv6
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement