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,7 +91,10 @@ 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;
return 404; # https://trac.nginx.org/nginx/ticket/2012
location / {
return 404;
}
} }
server { server {