diff --git a/ansible/roles/nginx_proxy/templates/proxy.conf.j2 b/ansible/roles/nginx_proxy/templates/proxy.conf.j2 index 0022456..cdf2c24 100644 --- a/ansible/roles/nginx_proxy/templates/proxy.conf.j2 +++ b/ansible/roles/nginx_proxy/templates/proxy.conf.j2 @@ -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; } -} \ No newline at end of file +}