Skip to content

Commit

Permalink
Increase nginx timeout to 300s
Browse files Browse the repository at this point in the history
  • Loading branch information
arturo-seijas committed Apr 18, 2024
1 parent f6356e3 commit 4536c8c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions nginx_rock/etc/nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ http {
add_header Cache-Control 'no-cache,private';
include common_headers.conf;
client_max_body_size 0;
proxy_read_timeout 300s;
proxy_read_timeout 300;
proxy_set_header X-Forwarded-Proto $http_x_forwarded_proto;
proxy_set_header X-Forwarded-Host $http_host;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
Expand All @@ -81,7 +81,6 @@ http {
location ~ ^/event/[0-9]+/manage/registration/[0-9]+/registrations/(import|email)$ {
# add_header and proxy_set_header are inherited from the / location
proxy_hide_header Cache-Control;
proxy_read_timeout 300;
proxy_pass http://localhost:8081;
}

Expand Down

0 comments on commit 4536c8c

Please sign in to comment.