Browse Source

Merge pull request #315 from qiaozhanwei/branch-1.0.2

solve nginx 504 Gateway Time-out
pull/2/head
乔占卫 6 years ago committed by GitHub
parent
commit
ecc899ed70
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 6
      escheduler-ui/install-escheduler-ui.sh

6
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";
}

Loading…
Cancel
Save