Skip to content

Instantly share code, notes, and snippets.

@onemanstartup
Created December 28, 2014 09:50
Show Gist options
  • Save onemanstartup/5a74e97f15af7127c62a to your computer and use it in GitHub Desktop.
Save onemanstartup/5a74e97f15af7127c62a to your computer and use it in GitHub Desktop.
4 user nginx;
3 worker_processes 4;
2 pid /var/run/nginx.pid;
1 worker_rlimit_nofile 1024;
6 events {
1 worker_connections 512;
2 }
3 http {
4
5 include /etc/nginx/mime.types;
6 default_type application/octet-stream;
7 sendfile "on";
8 tcp_nopush "on";
9 tcp_nodelay "on";
10 keepalive_timeout "65";
11 access_log "/var/log/nginx/access.log";
12 error_log "/var/log/nginx/error.log";
13 server_tokens off;
14 types_hash_max_size 2048;
15
16 include /etc/nginx/conf.d/*.conf;
17 include /etc/nginx/sites-enabled/*;
18 }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment