From e8c8487cb43fa7ddf0d8397a0f649ebddfd4b8aa Mon Sep 17 00:00:00 2001 From: qiaozhanwei Date: Mon, 20 May 2019 15:01:57 +0800 Subject: [PATCH] solve nginx 504 Gateway Time-out --- escheduler-ui/install-escheduler-ui.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/escheduler-ui/install-escheduler-ui.sh b/escheduler-ui/install-escheduler-ui.sh index c6266b98b2..60bf2b5341 100755 --- a/escheduler-ui/install-escheduler-ui.sh +++ b/escheduler-ui/install-escheduler-ui.sh @@ -88,9 +88,9 @@ eschedulerConf(){ proxy_set_header remote_addr $E_remote_addr; proxy_set_header X-Forwarded-For $E_proxy_add_x_forwarded_for; proxy_http_version 1.1; - proxy_connect_timeout 4s; - proxy_read_timeout 30s; - proxy_send_timeout 12s; + proxy_connect_timeout 300s; + proxy_read_timeout 300s; + proxy_send_timeout 300s; proxy_set_header Upgrade $E_http_upgrade; proxy_set_header Connection "upgrade"; } @@ -184,7 +184,7 @@ if [[ $version -eq 6 ]]; then fi # centos 7 -if [[ $version -eq 7 ]]; then +if [[ $version -eq 7 ]]; then centos7 fi