diff options
| author | Daniel Micay <danielmicay@gmail.com> | 2021-04-23 15:54:16 -0400 |
|---|---|---|
| committer | Daniel Micay <danielmicay@gmail.com> | 2021-04-23 15:54:16 -0400 |
| commit | 59cbca708399a6b81cd6c6d9f26fd760cb25f2a6 (patch) | |
| tree | dfbce3b3bc87acec00c081dd92b696cd2da78871 | |
| parent | 29fe014506229a2ba49ab22b1c3bbd0d4c3ad1c8 (diff) | |
update nginx configuration for 1.20.0
| -rw-r--r-- | nginx/nginx.conf | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/nginx/nginx.conf b/nginx/nginx.conf index 5e6fe6e2..9124b498 100644 --- a/nginx/nginx.conf +++ b/nginx/nginx.conf @@ -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; |
