Skip to content

Instantly share code, notes, and snippets.

@samayo
Created April 11, 2015 23:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save samayo/804d19891fd23a18d253 to your computer and use it in GitHub Desktop.
Save samayo/804d19891fd23a18d253 to your computer and use it in GitHub Desktop.
Nginx configuration file
user nginx;
worker_processes 4;
#error_log logs/error.log;
#error_log logs/error.log notice;
#error_log logs/error.log info;
#pid logs/nginx.pid;
events {
worker_connections 1024;
}
http {
default_type application/octet-stream;
include mime.types;
include /etc/nginx/conf.d/sites-enabled/*.conf;
access_log off;
sendfile on;
send_timeout 10;
client_header_timeout 12;
keepalive_timeout 15;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment