fix proxyconf

This commit is contained in:
reqwizz 2024-11-12 23:51:47 +03:00
parent b6f55f1186
commit 1738030bf9

View File

@ -1,6 +1,6 @@
upstream backend {
{% for server in upstream_servers %}
server {{ server }} max_fails=3 fail_timeout=30s;
server {{ server }} max_fails=1 fail_timeout=10s;
{% endfor %}
}
@ -26,4 +26,4 @@ server {
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
}
}
}