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
Raw Normal View History

2021-08-29 17:39:12 +02:00
load_module "/usr/lib/nginx/modules/ngx_http_headers_more_filter_module.so";
worker_processes auto;
2021-08-29 21:41:15 +02:00
user www-data www-data;
2021-08-29 17:39:12 +02:00
events {}
http {
2021-08-29 21:41:15 +02:00
include mimetypes/strict.conf;
2021-08-29 17:39:12 +02:00
2021-08-29 21:41:15 +02:00
types_hash_bucket_size 128; # Default: 64
types_hash_max_size 1024; # Default: 1024
server_names_hash_bucket_size 128;
2021-08-29 17:39:12 +02:00
2021-08-29 21:41:15 +02:00
#sendfile on;
2021-08-29 17:39:12 +02:00
#tcp_nopush on;
gzip_static on;
2021-08-29 21:41:15 +02:00
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;
2021-08-29 17:39:12 +02:00
include sites/*.conf;
2021-08-29 21:41:15 +02:00
include ht/*.conf;
2021-08-29 17:39:12 +02:00
server_tokens off;
2021-08-29 21:41:15 +02:00
autoindex off;
gzip off;
2021-08-29 17:39:12 +02:00
#map $http_accept_language $lang {
# default en;
# ~en en;
# ~fr fr;
#}
}