Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Increase nginx timeout to 300s #384

Merged
merged 6 commits into from
Apr 22, 2024
Merged
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion nginx_rock/etc/nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ http {
add_header Cache-Control 'no-cache,private';
include common_headers.conf;
client_max_body_size 0;
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 @@ -80,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
Loading