89 lines
1.8 KiB
Plaintext
89 lines
1.8 KiB
Plaintext
|
user www-data;
|
||
|
worker_processes {{ nginx_worker_processes }};
|
||
|
pid /var/run/nginx.pid;
|
||
|
|
||
|
events {
|
||
|
worker_connections 1024;
|
||
|
#multi_accept on;
|
||
|
use epoll;
|
||
|
}
|
||
|
|
||
|
http {
|
||
|
##
|
||
|
# Basic Settings
|
||
|
##
|
||
|
|
||
|
sendfile on;
|
||
|
tcp_nopush on;
|
||
|
tcp_nodelay on;
|
||
|
keepalive_timeout 65;
|
||
|
types_hash_max_size 2048;
|
||
|
|
||
|
##
|
||
|
# Tuning Evolix
|
||
|
##
|
||
|
#connection_pool_size 256;
|
||
|
#client_header_buffer_size 64k;
|
||
|
#client_body_buffer_size 128k;
|
||
|
#large_client_header_buffers 8 16k;
|
||
|
#request_pool_size 4k;
|
||
|
#client_header_timeout 10m;
|
||
|
#client_body_timeout 10m;
|
||
|
#send_timeout 10m;
|
||
|
#client_max_body_size 50m;
|
||
|
server_tokens off;
|
||
|
server_names_hash_max_size 512;
|
||
|
server_names_hash_bucket_size 128;
|
||
|
server_name_in_redirect off;
|
||
|
|
||
|
include /etc/nginx/mime.types;
|
||
|
default_type application/octet-stream;
|
||
|
|
||
|
##
|
||
|
# Gzip Settings
|
||
|
##
|
||
|
|
||
|
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 application/x-javascript text/xml application/xml application/xml+rss text/javascript;
|
||
|
|
||
|
index index.html;
|
||
|
|
||
|
##
|
||
|
# Logging Settings
|
||
|
##
|
||
|
|
||
|
access_log /var/log/nginx/access_log;
|
||
|
error_log /var/log/nginx/error_log;
|
||
|
|
||
|
##
|
||
|
# nginx-naxsi config
|
||
|
##
|
||
|
# Uncomment it if you installed nginx-naxsi
|
||
|
##
|
||
|
|
||
|
#include /etc/nginx/naxsi_core.rules;
|
||
|
|
||
|
##
|
||
|
# nginx-passenger config
|
||
|
##
|
||
|
# Uncomment it if you installed nginx-passenger
|
||
|
##
|
||
|
|
||
|
#passenger_root /usr;
|
||
|
#passenger_ruby /usr/bin/ruby;
|
||
|
|
||
|
##
|
||
|
# Virtual Host Configs
|
||
|
##
|
||
|
|
||
|
include /etc/nginx/conf.d/*.conf;
|
||
|
include /etc/nginx/sites-enabled/*;
|
||
|
}
|