Skip to content

Commit 90ec1d5

Browse files
authored
Allow keepalives on status port
A few years ago, #3684 changed the status port to use Unix sockets rather than TCP. As part of that change, `keepalive_timeout 0` was added. Sometime later, #4487 changed the status port back to TCP. However, keepalive was never re-enabled. In practice we're seeing behavior where nginx stops accepting GET or POST to the status port during graceful shutdown since new connections aren't allowed.
1 parent 23bd743 commit 90ec1d5

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

rootfs/etc/nginx/template/nginx.tmpl

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -654,7 +654,6 @@ http {
654654
listen 127.0.0.1:{{ .StatusPort }};
655655
set $proxy_upstream_name "internal";
656656

657-
keepalive_timeout 0;
658657
gzip off;
659658

660659
access_log off;

0 commit comments

Comments
 (0)