Skip to content

Instantly share code, notes, and snippets.

@halcyonCorsair
Created January 25, 2012 05:33
Show Gist options
  • Select an option

  • Save halcyonCorsair/1674935 to your computer and use it in GitHub Desktop.

Select an option

Save halcyonCorsair/1674935 to your computer and use it in GitHub Desktop.
fabric-aegir-mac nginx.conf
# 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