Skip to content

Commit 359cd8b

Browse files
authored
Revert "Adjust more timeouts (#4264)" (#4267)
This reverts commit 1582508.
1 parent 38af5bc commit 359cd8b

File tree

1 file changed

+0
-19
lines changed

1 file changed

+0
-19
lines changed

webapp/web/nginx.conf

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,7 @@ http {
66
sendfile on;
77
tcp_nopush on;
88
tcp_nodelay on;
9-
# Adjust server wide timeouts
109
keepalive_timeout 65;
11-
# Similar to the timeouts specifically for the Go server below
12-
client_header_timeout 10m;
1310
types_hash_max_size 2048;
1411
include /etc/nginx/mime.types;
1512
default_type application/octet-stream;
@@ -76,22 +73,6 @@ http {
7673
proxy_set_header X-Forwarded-Proto $scheme;
7774
# Disable checking of the body size
7875
client_max_body_size 0;
79-
# Disable or increase timeout checks. Allow the application to determine the appropriate timeouts
80-
client_body_timeout 0;
81-
send_timeout 10m;
82-
proxy_read_timeout 10m;
83-
proxy_connect_timeout 10m;
84-
# TODO(https://github.com/web-platform-tests/wpt.fyi/issues/4231)
85-
# Nginx client keepalive timeout. Due to the use of nicehttp, the Go application's
86-
# idle timeout is not configurable, and it defaults to no timeout as per Go 1.23.
87-
# 10 minutes is a temporary high value until nicehttp can be replaced or configured.
88-
# Consider reducing this timeout to a more reasonable value (e.g., 60s) to prevent
89-
# excessive idle connections.
90-
# IMPORTANT: The NGINX UPSTREAM keepalive timeout (configured in the upstream block)
91-
# MUST be LESS than the Go application's idle timeout to avoid connection errors.
92-
# However, since the Go application effectively has no timeout right now because of nicehttp,
93-
# the upstream timeout must be set to a reasonably high value.
94-
keepalive_timeout 10m;
9576
}
9677
}
9778
}

0 commit comments

Comments
 (0)