From 712ac4fb5b5cea1a59de88aa08cc685d8449b007 Mon Sep 17 00:00:00 2001 From: DQ Date: Tue, 26 May 2020 16:11:57 +0800 Subject: [PATCH] Add timount on nginx configs set timeout to 900 Signed-off-by: DQ --- make/photon/prepare/templates/nginx/nginx.http.conf.jinja | 3 +++ make/photon/prepare/templates/nginx/nginx.https.conf.jinja | 2 ++ 2 files changed, 5 insertions(+) diff --git a/make/photon/prepare/templates/nginx/nginx.http.conf.jinja b/make/photon/prepare/templates/nginx/nginx.http.conf.jinja index e80d6e9fd..c6d2df6c1 100644 --- a/make/photon/prepare/templates/nginx/nginx.http.conf.jinja +++ b/make/photon/prepare/templates/nginx/nginx.http.conf.jinja @@ -112,6 +112,9 @@ http { proxy_set_header X-Forwarded-Proto $scheme; proxy_buffering off; proxy_request_buffering off; + + proxy_send_timeout 900; + proxy_read_timeout 900; } location /service/ { diff --git a/make/photon/prepare/templates/nginx/nginx.https.conf.jinja b/make/photon/prepare/templates/nginx/nginx.https.conf.jinja index 8db15c9c3..b643ccece 100644 --- a/make/photon/prepare/templates/nginx/nginx.https.conf.jinja +++ b/make/photon/prepare/templates/nginx/nginx.https.conf.jinja @@ -138,6 +138,8 @@ http { proxy_set_header X-Forwarded-Proto $scheme; proxy_buffering off; proxy_request_buffering off; + proxy_send_timeout 900; + proxy_read_timeout 900; } location /service/ {