45 lines
845 B
Nginx Configuration File
45 lines
845 B
Nginx Configuration File
user www-data;
|
|
worker_processes auto;
|
|
pid /run/nginx.pid;
|
|
|
|
load_module /usr/lib/nginx/modules/ngx_http_headers_more_filter_module.so;
|
|
load_module /usr/lib/nginx/modules/ngx_stream_module.so;
|
|
|
|
events {
|
|
use epoll;
|
|
worker_connections 1024;
|
|
multi_accept on;
|
|
}
|
|
|
|
http {
|
|
##
|
|
# Basic Settings
|
|
##
|
|
|
|
sendfile on;
|
|
tcp_nopush on;
|
|
tcp_nodelay on;
|
|
keepalive_timeout 65;
|
|
types_hash_max_size 2048;
|
|
server_tokens off;
|
|
reset_timedout_connection on;
|
|
large_client_header_buffers 4 32k;
|
|
|
|
server_names_hash_bucket_size 64;
|
|
map_hash_bucket_size 64;
|
|
# server_name_in_redirect off;
|
|
|
|
include /etc/nginx/mime.types;
|
|
default_type application/octet-stream;
|
|
include /etc/nginx/conf.d/*.conf;
|
|
|
|
##
|
|
# Virtual Host Configs
|
|
##
|
|
include /etc/nginx/sites-enabled/*;
|
|
}
|
|
|
|
stream {
|
|
include /etc/nginx/conf.d/upstreams.conf;
|
|
include /etc/nginx/streams/*;
|
|
}
|