Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 90ec1d5

Browse filesBrowse 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
Copy full SHA for 90ec1d5

File tree

Expand file treeCollapse file tree

1 file changed

+0
-1
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

1 file changed

+0
-1
lines changed
Open diff view settings
Collapse file

‎rootfs/etc/nginx/template/nginx.tmpl‎

Copy file name to clipboardExpand all lines: rootfs/etc/nginx/template/nginx.tmpl
-1Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.