Sha256: fa5cbd0d27633392793ef8a3c44994af8a4dabb0ca58d2af942ee9ed5edc0150
Contents?: true
Size: 1.73 KB
Versions: 4
Compression:
Stored size: 1.73 KB
Contents
## # See http://brainspl.at/articles/2007/01/03/new-nginx-conf-with-optimizations # See http://topfunky.net/svn/shovel/nginx # # user and group to run as user nginx nginx; # number of nginx workers worker_processes 6; # pid of nginx master process pid <%= nginx_pid_path %>; events { worker_connections 1024; } http { include <%= File.dirname(nginx_conf_path) %>/mime.types; default_type application/octet-stream; log_format main '$remote_addr - $remote_user [$time_local] $request ' '"$status" $body_bytes_sent "$http_referer" ' '"$http_user_agent" "$http_x_forwarded_for"'; # main access log access_log /var/log/nginx_access.log main; # main error log error_log /var/log/nginx_error.log debug; # no sendfile on OSX sendfile on; #keepalive_timeout 0; keepalive_timeout 65; # These are good default values. tcp_nopush on; tcp_nodelay off; # output compression saves bandwidth gzip on; gzip_http_version 1.0; gzip_comp_level 2; gzip_proxied any; gzip_types text/plain text/html text/css application/x-javascript text/xml application/xml application/xml+rss text/javascript; # Auto include include /etc/nginx/vhosts/*.conf; # HTTPS server # #server { # listen 443; # server_name localhost; # ssl on; # ssl_certificate cert.pem; # ssl_certificate_key cert.key; # ssl_session_timeout 5m; # ssl_protocols SSLv2 SSLv3 TLSv1; # ssl_ciphers ALL:!ADH:!EXPORT56:RC4+RSA:+HIGH:+MEDIUM:+LOW:+SSLv2:+EXP; # ssl_prefer_server_ciphers on; # location / { # root html; # index index.html index.htm; # } #} }
Version data entries
4 entries across 4 versions & 1 rubygems