work around nginx keepalive configuration bug

https://trac.nginx.org/nginx/ticket/2012
This commit is contained in:
Daniel Micay 2023-02-18 12:38:10 -05:00
parent 74228f0fdc
commit 7725a8617d

View File

@ -91,8 +91,11 @@ http {
listen 80 default_server backlog=4096; listen 80 default_server backlog=4096;
listen [::]:80 default_server backlog=4096; listen [::]:80 default_server backlog=4096;
keepalive_timeout 0; keepalive_timeout 0;
# https://trac.nginx.org/nginx/ticket/2012
location / {
return 404; return 404;
} }
}
server { server {
listen 80; listen 80;