Various nginx improvements

This commit is contained in:
Chay 2023-12-04 09:04:08 +02:00
parent 112918803c
commit 27fd64fe0d

View file

@ -6,6 +6,7 @@ include /etc/nginx/modules-enabled/*.conf;
events {
worker_connections 1024;
use epoll;
multi_accept on;
}
@ -16,13 +17,15 @@ http {
##
sendfile on;
reset_timedout_connection on;
tcp_nopush on;
types_hash_max_size 2048;
server_tokens off;
charset utf-8;
tcp_nodelay on;
log_not_found off;
client_max_body_size 16M;
client_max_body_size 32M;
proxy_ignore_client_abort on;
# server_names_hash_bucket_size 64;
server_name_in_redirect off;