From 4536c8c724891da258dd5519e091bfa9bdd5f919 Mon Sep 17 00:00:00 2001 From: Arturo Seijas Date: Thu, 18 Apr 2024 14:04:37 +0200 Subject: [PATCH] Increase nginx timeout to 300s --- nginx_rock/etc/nginx.conf | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/nginx_rock/etc/nginx.conf b/nginx_rock/etc/nginx.conf index 911a7b71..dc0c8990 100644 --- a/nginx_rock/etc/nginx.conf +++ b/nginx_rock/etc/nginx.conf @@ -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; @@ -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; }