update nginx configuration for 1.20.0
This commit is contained in:
parent
29fe014506
commit
59cbca7083
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user