Skip to content

Commit

Permalink
Add timeouts to /server/
Browse files Browse the repository at this point in the history
  • Loading branch information
kosarko committed May 22, 2024
1 parent bc67dbf commit f62d80c
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions nginx/conf/templates/default.conf.template
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,11 @@ server {
location /server/ {
include proxy_params;
client_max_body_size ${NGINX_MAX_BODY_SIZE};
#https://nginx.org/en/docs/http/ngx_http_proxy_module.html#proxy_connect_timeout says this shouldn't exceed 75 seconds
proxy_connect_timeout 75;
proxy_send_timeout 6000;
proxy_read_timeout 6000;
send_timeout 6000;
proxy_pass http://tomcat;
}

Expand Down

0 comments on commit f62d80c

Please sign in to comment.