Guest User

Untitled

a guest
Jan 23rd, 2018
83
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.65 KB | None | 0 0
  1. #!/bin/sh
  2.  
  3. NGINX=nginx-1.0.6
  4.  
  5. cd $NGINX
  6. ./configure \
  7. --prefix=/usr/local/$NGINX \
  8. --conf-path=/etc/nginx/nginx.conf \
  9. --error-log-path=/var/log/nginx/error.log \
  10. --pid-path=/var/run/nginx/nginx.pid \
  11. --lock-path=/var/lock/nginx.lock \
  12. --user=nginx \
  13. --group=nginx \
  14. --with-http_stub_status_module \
  15. --with-http_ssl_module \
  16. --with-http_gzip_static_module \
  17. --with-http_realip_module \
  18. --with-http_dav_module \
  19. --with-http_flv_module \
  20. --http-log-path=/var/log/nginx/access.log \
  21. --http-client-body-temp-path=/var/tmp/nginx/client/ \
  22. --http-proxy-temp-path=/var/tmp/nginx/proxy/ \
  23. --http-fastcgi-temp-path=/var/tmp/nginx/fcgi/
  24. make
Add Comment
Please, Sign In to add comment