Created
July 24, 2013 22:46
-
-
Save dctrwatson/6075317 to your computer and use it in GitHub Desktop.
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
nginx version: nginx/1.2.9 | |
TLS SNI support enabled | |
configure arguments: | |
--prefix=/usr/share/nginx | |
--conf-path=/etc/nginx/nginx.conf | |
--error-log-path=/var/log/nginx/error.log | |
--http-client-body-temp-path=/var/lib/nginx/body | |
--http-fastcgi-temp-path=/var/lib/nginx/fastcgi | |
--http-log-path=/var/log/nginx/access.log | |
--http-proxy-temp-path=/var/lib/nginx/proxy | |
--http-scgi-temp-path=/var/lib/nginx/scgi | |
--http-uwsgi-temp-path=/var/lib/nginx/uwsgi | |
--lock-path=/var/lock/nginx.lock | |
--pid-path=/run/nginx.pid | |
--with-pcre-jit | |
--with-debug | |
--with-http_addition_module | |
--with-http_dav_module | |
--with-http_geoip_module | |
--with-http_gzip_static_module | |
--with-http_image_filter_module | |
--with-http_realip_module | |
--with-http_secure_link_module | |
--with-http_stub_status_module | |
--with-http_ssl_module | |
--with-http_sub_module | |
--with-http_xslt_module | |
--with-ipv6 | |
--with-sha1=/usr/include/openssl | |
--with-md5=/usr/include/openssl | |
--add-module=/home/vagrant/nginx/debian/modules/headers-more-nginx-module | |
--add-module=/home/vagrant/nginx/debian/modules/nginx-development-kit | |
--add-module=/home/vagrant/nginx/debian/modules/nginx-echo | |
--add-module=/home/vagrant/nginx/debian/modules/nginx-statsd | |
--add-module=/home/vagrant/nginx/debian/modules/nginx-push-stream-module | |
--add-module=/home/vagrant/nginx/debian/modules/nginx-upstream-fair | |
--add-module=/home/vagrant/nginx/debian/modules/ngx_http_redis | |
--add-module=/home/vagrant/nginx/debian/modules/set-misc-nginx-module | |
--add-module=/home/vagrant/nginx/debian/modules/lua-nginx-module |
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
nginx version: nginx/1.4.1 (Ubuntu) | |
TLS SNI support enabled | |
configure arguments: | |
--prefix=/usr/share/nginx | |
--conf-path=/etc/nginx/nginx.conf | |
--error-log-path=/var/log/nginx/error.log | |
--http-client-body-temp-path=/var/lib/nginx/body | |
--http-fastcgi-temp-path=/var/lib/nginx/fastcgi | |
--http-log-path=/var/log/nginx/access.log | |
--http-proxy-temp-path=/var/lib/nginx/proxy | |
--http-scgi-temp-path=/var/lib/nginx/scgi | |
--http-uwsgi-temp-path=/var/lib/nginx/uwsgi | |
--lock-path=/var/lock/nginx.lock | |
--pid-path=/run/nginx.pid | |
--with-pcre-jit | |
--with-debug | |
--with-http_addition_module | |
--with-http_geoip_module | |
--with-http_gzip_static_module | |
--with-http_image_filter_module | |
--with-http_realip_module | |
--with-http_spdy_module | |
--with-http_stub_status_module | |
--with-http_ssl_module | |
--with-http_sub_module | |
--with-http_xslt_module | |
--with-ipv6 | |
--add-module=/home/vagrant/nginx/debian/modules/nginx-development-kit | |
--add-module=/home/vagrant/nginx/debian/modules/set-misc-nginx-module | |
--add-module=/home/vagrant/nginx/debian/modules/headers-more-nginx-module | |
--add-module=/home/vagrant/nginx/debian/modules/nginx-echo | |
--add-module=/home/vagrant/nginx/debian/modules/memc-nginx-module | |
--add-module=/home/vagrant/nginx/debian/modules/srcache-nginx-module | |
--add-module=/home/vagrant/nginx/debian/modules/ngx_http_redis | |
--add-module=/home/vagrant/nginx/debian/modules/nginx-upstream-fair | |
--add-module=/home/vagrant/nginx/debian/modules/nginx-statsd |
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
user www-data; | |
worker_processes 1; | |
worker_rlimit_nofile 63000; | |
error_log /var/log/nginx/error.log; | |
pid /var/run/nginx.pid; | |
events { | |
worker_connections 1024; | |
use epoll; | |
} | |
http { | |
include /etc/nginx/mime.types; | |
access_log off; | |
default_type application/octet-stream; | |
gzip on; | |
sendfile on; | |
tcp_nodelay on; | |
tcp_nopush off; | |
lingering_time 5s; | |
lingering_timeout 1s; | |
client_header_timeout 5s; | |
keepalive_timeout 0; | |
reset_timedout_connection on; | |
server_tokens off; | |
server { | |
listen 80; | |
server_name sub.example.com; | |
uwsgi_read_timeout 60; | |
gzip_proxied expired no-cache no-store private auth; | |
gzip_vary on; | |
gzip_types application/x-javascript application/json application/javascript text/css; | |
set_real_ip_from 10.0.0.0/8; | |
set_real_ip_from 127.0.0.1; | |
real_ip_header X-Forwarded-For; | |
real_ip_recursive on; | |
location / { | |
include uwsgi_params; | |
uwsgi_pass unix:/tmp/uwsgi.sock; | |
} | |
} | |
server { | |
listen 127.0.0.1:81; | |
server_name localhost; | |
access_log off; | |
location = /server-status { | |
allow 127.0.0.1; | |
deny all; | |
stub_status on; | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment