diff options
| author | Daniel Micay <danielmicay@gmail.com> | 2023-02-18 12:29:29 -0500 |
|---|---|---|
| committer | Daniel Micay <danielmicay@gmail.com> | 2023-02-18 12:31:03 -0500 |
| commit | 3ab9e97549f28d62fbedf559cb14801ca23e43cb (patch) | |
| tree | 67aa835436d344bd130b4edb5e69ecb6f72dc8e9 | |
| parent | 6a0e6def494795509378c12f646df26e05578f0b (diff) | |
work around nginx keepalive configuration bug
https://trac.nginx.org/nginx/ticket/2012
| -rw-r--r-- | nginx/nginx.conf | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/nginx/nginx.conf b/nginx/nginx.conf index 046dce9f..a7337574 100644 --- a/nginx/nginx.conf +++ b/nginx/nginx.conf @@ -100,7 +100,10 @@ http { listen 80 default_server backlog=4096; listen [::]:80 default_server backlog=4096; keepalive_timeout 0; - return 404; + # https://trac.nginx.org/nginx/ticket/2012 + location / { + return 404; + } } server { |
