Skip to content

Instantly share code, notes, and snippets.

@BrianGilbert
Last active December 19, 2015 05:59
Show Gist options
  • Save BrianGilbert/5908352 to your computer and use it in GitHub Desktop.
Save BrianGilbert/5908352 to your computer and use it in GitHub Desktop.
nginx.conf for OS X Aegir setup
# Nginx web server main configuration file /usr/local/etc/nginx/nginx.conf
#
user [username] staff;
worker_processes 4;
pid /usr/local/var/run/nginx.pid;
error_log /var/log/aegir/nginx-error.log info; #debug;
events {
multi_accept on;
}
http {
default_type application/octet-stream;
gzip on;
gzip_disable "msie6";
keepalive_timeout 65;
sendfile on;
tcp_nodelay on;
tcp_nopush on;
types_hash_max_size 8192;
include /usr/local/etc/nginx/mime.types;
include /usr/local/etc/nginx/conf.d/*.conf;
include /etc/nginx/sites-enabled/*;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment