Created
January 25, 2012 05:33
-
-
Save halcyonCorsair/1674935 to your computer and use it in GitHub Desktop.
fabric-aegir-mac nginx.conf
This file contains hidden or 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 web server main configuration file /etc/nginx/nginx.conf | |
| # | |
| user [username] staff; | |
| worker_processes 4; | |
| worker_rlimit_nofile 8192; | |
| error_log logs/error.log; | |
| #pid /var/run/nginx.pid; | |
| events { | |
| worker_connections 1024; | |
| } | |
| http { | |
| include mime.types; | |
| default_type application/octet-stream; | |
| sendfile on; | |
| keepalive_timeout 10; | |
| tcp_nodelay on; | |
| gzip on; | |
| ## FastCGI. | |
| include /usr/local/etc/nginx/fastcgi.conf; | |
| ## For the filefield_nginx_progress module to work. From the | |
| ## README. Reserve 1MB under the name 'uploads' to track uploads. | |
| #upload_progress uploads 1m; | |
| include /usr/local/etc/nginx/conf.d/*.conf; | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment