server-configs/nginx/nginx.conf

34 lines
1.1 KiB
Nginx Configuration File
Raw Normal View History

user http;
worker_processes 4;
2016-04-07 11:23:35 -04:00
events {
worker_connections 1024;
2016-04-07 11:23:35 -04:00
}
http {
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;
client_max_body_size 30M;
2016-04-07 11:23:35 -04:00
gzip on;
gzip_disable "msie6";
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;
access_log /var/log/nginx/access.log;
error_log /var/log/nginx/error.log;
2016-04-07 11:23:35 -04:00
include /etc/nginx/sites-enabled/*;
2016-04-07 11:23:35 -04:00
}