-
-
Save rrichards/2413423 to your computer and use it in GitHub Desktop.
nginx configure script
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#pcre libraries | |
sudo apt-get install libpcre3 libpcre3-dev | |
#configure options | |
./configure \ | |
--conf-path=/etc/nginx/nginx.conf \ | |
--error-log-path=/var/log/nginx/error.log \ | |
--pid-path=/var/run/nginx.pid \ | |
--lock-path=/var/lock/nginx.lock \ | |
--http-log-path=/var/log/nginx/access.log \ | |
--http-client-body-temp-path=/var/lib/nginx/body \ | |
--http-proxy-temp-path=/var/lib/nginx/proxy \ | |
--without-http_fastcgi_module \ | |
--without-http_uwsgi_module \ | |
--with-http_stub_status_module \ | |
--with-http_gzip_static_module \ | |
--with-http_ssl_module | |
#nginx path prefix: "/usr/local/nginx" | |
#nginx binary file: "/usr/local/nginx/sbin/nginx" | |
#nginx configuration prefix: "/etc/nginx" | |
#nginx configuration file: "/etc/nginx/nginx.conf" | |
#nginx pid file: "/var/run/nginx.pid" | |
#nginx error log file: "/var/log/nginx/error.log" | |
#nginx http access log file: "/var/log/nginx/access.log" | |
#nginx http client request body temporary files: "/var/lib/nginx/body" | |
#nginx http proxy temporary files: "/var/lib/nginx/proxy" | |
#nginx http scgi temporary files: "scgi_temp" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment