2016-05-30 20:23:13 -04:00
|
|
|
user http;
|
|
|
|
worker_processes 4;
|
2016-04-07 11:23:35 -04:00
|
|
|
|
|
|
|
events {
|
2016-05-30 20:23:13 -04:00
|
|
|
worker_connections 1024;
|
2016-04-07 11:23:35 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
http {
|
2016-05-30 20:23:13 -04:00
|
|
|
include mime.types;
|
|
|
|
default_type application/octet-stream;
|
2016-04-07 11:23:35 -04:00
|
|
|
|
|
|
|
sendfile on;
|
|
|
|
tcp_nopush on;
|
|
|
|
tcp_nodelay on;
|
|
|
|
keepalive_timeout 65;
|
|
|
|
types_hash_max_size 2048;
|
|
|
|
server_names_hash_bucket_size 64;
|
2016-09-12 18:41:03 -04:00
|
|
|
client_max_body_size 30M;
|
2016-04-07 11:23:35 -04:00
|
|
|
|
2016-05-30 20:18:10 -04:00
|
|
|
gzip on;
|
|
|
|
gzip_disable "msie6";
|
2016-05-30 20:23:13 -04:00
|
|
|
gzip_vary on;
|
|
|
|
gzip_proxied any;
|
|
|
|
gzip_comp_level 6;
|
|
|
|
gzip_buffers 16 8k;
|
|
|
|
gzip_http_version 1.1;
|
|
|
|
gzip_types text/plain text/css application/json text/xml application/xml application/xml+rss text/javascript application/javascript image/svg+xml;
|
2016-05-30 20:18:10 -04:00
|
|
|
|
2016-05-30 20:23:13 -04:00
|
|
|
access_log /var/log/nginx/access.log;
|
|
|
|
error_log /var/log/nginx/error.log;
|
2016-04-07 11:23:35 -04:00
|
|
|
|
2016-05-30 20:23:13 -04:00
|
|
|
include /etc/nginx/sites-enabled/*;
|
2016-04-07 11:23:35 -04:00
|
|
|
}
|