fix proxyconf
This commit is contained in:
parent
b6f55f1186
commit
1738030bf9
@ -1,6 +1,6 @@
|
|||||||
upstream backend {
|
upstream backend {
|
||||||
{% for server in upstream_servers %}
|
{% for server in upstream_servers %}
|
||||||
server {{ server }} max_fails=3 fail_timeout=30s;
|
server {{ server }} max_fails=1 fail_timeout=10s;
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -26,4 +26,4 @@ server {
|
|||||||
proxy_set_header X-Real-IP $remote_addr;
|
proxy_set_header X-Real-IP $remote_addr;
|
||||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user