update nginx configuration for 1.20.0

This commit is contained in:
Daniel Micay 2021-04-23 15:54:16 -04:00
parent 29fe014506
commit 59cbca7083

View File

@ -1,3 +1,5 @@
# nginx 1.20.x
load_module modules/ngx_http_brotli_static_module.so;
user nginx;
@ -18,7 +20,6 @@ http {
sendfile on;
sendfile_max_chunk 512k;
tcp_nopush on;
keepalive_requests 1000;
keepalive_timeout 65;
types_hash_max_size 4096;
server_tokens off;
@ -28,14 +29,11 @@ http {
client_body_buffer_size 1k;
client_header_buffer_size 1k;
large_client_header_buffers 4 4k;
http2_max_field_size 4k;
http2_max_header_size 16k;
http2_recv_buffer_size 128k;
client_body_timeout 30s;
client_header_timeout 30s;
send_timeout 30s;
http2_recv_timeout 30s;
http2_max_concurrent_streams 32;
limit_conn_status 429;