You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have an Nginx instance that I use as a Bazel cache with the config below. I'd like to set a low (4 second) timeout for the PUT (dav_methods) requests.
The config looks like:
http {
...
# request timed out
client_body_timeout 2;
client_header_timeout 2;
# server will close connection
keepalive_timeout 5;
send_timeout 1;
gzip on;
server {
listen 80 default_server;
server_name _;
location ~ "<my regex>" {
root <my dir>;
dav_methods PUT;
limit_except PUT GET { deny all; }
create_full_put_path on;
}
}
}
GET methods timeout as expected, PUTS don't.
Any idea how to put a timeout the PUT method?
The text was updated successfully, but these errors were encountered:
I have an Nginx instance that I use as a Bazel cache with the config below. I'd like to set a low (4 second) timeout for the PUT (dav_methods) requests.
The config looks like:
GET methods timeout as expected, PUTS don't.
Any idea how to put a timeout the PUT method?
The text was updated successfully, but these errors were encountered: