Haproxy template and nginx default timeout settings were modified.
This commit is contained in:
@@ -1,11 +1,12 @@
|
|||||||
global
|
global
|
||||||
log stdout format raw local0 debug
|
log stdout format raw local0 debug
|
||||||
defaults
|
defaults
|
||||||
timeout client 300s
|
|
||||||
timeout server 300s
|
|
||||||
timeout connect 60s
|
|
||||||
mode http
|
mode http
|
||||||
option redispatch
|
option redispatch
|
||||||
option http-server-close
|
option http-server-close
|
||||||
log global
|
log global
|
||||||
|
proxy_connect_timeout 300;
|
||||||
|
proxy_send_timeout 300;
|
||||||
|
proxy_read_timeout 300;
|
||||||
|
proxy_next_upstream off;
|
||||||
|
|
||||||
|
@@ -176,7 +176,11 @@ location = /$ERROR_PAGE {
|
|||||||
proxy_set_header X-Forwarded-Proto "'$scheme'";
|
proxy_set_header X-Forwarded-Proto "'$scheme'";
|
||||||
proxy_set_header Upgrade "'$http_upgrade;'"
|
proxy_set_header Upgrade "'$http_upgrade;'"
|
||||||
proxy_cookie_path / /;
|
proxy_cookie_path / /;
|
||||||
proxy_set_header Connection "'$http_connection'";"
|
proxy_set_header Connection "'$http_connection'";
|
||||||
|
proxy_connect_timeout 300;
|
||||||
|
proxy_send_timeout 300;
|
||||||
|
proxy_read_timeout 300;
|
||||||
|
proxy_next_upstream off;"
|
||||||
|
|
||||||
if [[ "$DEBUG" != "true" ]]; then
|
if [[ "$DEBUG" != "true" ]]; then
|
||||||
echo " access_log off;"
|
echo " access_log off;"
|
||||||
@@ -229,7 +233,11 @@ location = /$ERROR_PAGE {
|
|||||||
proxy_set_header X-Forwarded-Proto "'$scheme'";
|
proxy_set_header X-Forwarded-Proto "'$scheme'";
|
||||||
proxy_set_header Upgrade "'$http_upgrade;'"
|
proxy_set_header Upgrade "'$http_upgrade;'"
|
||||||
proxy_cookie_path $ALP_LOCAL_PATH $ALP_LOCAL_PATH;
|
proxy_cookie_path $ALP_LOCAL_PATH $ALP_LOCAL_PATH;
|
||||||
proxy_set_header Connection "'$http_connection'";"
|
proxy_set_header Connection "'$http_connection'";
|
||||||
|
proxy_connect_timeout 300;
|
||||||
|
proxy_send_timeout 300;
|
||||||
|
proxy_read_timeout 300;
|
||||||
|
proxy_next_upstream off;"
|
||||||
|
|
||||||
if [[ "$DEBUG" != "true" ]]; then
|
if [[ "$DEBUG" != "true" ]]; then
|
||||||
echo " access_log off;"
|
echo " access_log off;"
|
||||||
|
Reference in New Issue
Block a user