Skip to content

Instantly share code, notes, and snippets.

@angrytoast
Created December 18, 2015 22:34
Show Gist options
  • Select an option

  • Save angrytoast/336a185f09461dba3e83 to your computer and use it in GitHub Desktop.

Select an option

Save angrytoast/336a185f09461dba3e83 to your computer and use it in GitHub Desktop.
worker_processes 4;
error_log /usr/local/etc/nginx/logs/error.log debug;
events {
worker_connections 1024;
}
http {
include 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"';
access_log /usr/local/etc/nginx/logs/access.log main;
fastcgi_buffers 8 16k;
fastcgi_buffer_size 32k;
fastcgi_connect_timeout 300;
fastcgi_send_timeout 300;
fastcgi_read_timeout 300;
sendfile on;
keepalive_timeout 65;
gzip on;
index index.html index.php;
include /usr/local/etc/nginx/sites-enabled/*;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment