servnest
/
system
Archived
1
0
Fork 0
This repository has been archived on 2022-10-07. You can view files and clone it, but cannot push or open issues or pull requests.
system/config/nginx/nginx.conf

38 lines
805 B
Nginx Configuration File

load_module "/usr/lib/nginx/modules/ngx_http_headers_more_filter_module.so";
worker_processes auto;
user www-data www-data;
events {}
http {
include mimetypes/strict.conf;
types_hash_bucket_size 128; # Default: 64
types_hash_max_size 1024; # Default: 1024
server_names_hash_bucket_size 128;
#sendfile on;
#tcp_nopush on;
gzip_static on;
log_format tls '$remote_addr $ssl_protocol $ssl_cipher [$time_local] "$request" $status $body_bytes_sent "$http_referer" "$http_user_agent"';
include http.conf;
include default-server.conf;
include sites/*.conf;
include ht/*.conf;
server_tokens off;
autoindex off;
gzip off;
#map $http_accept_language $lang {
# default en;
# ~en en;
# ~fr fr;
#}
}