From 4206c9bc8a89c366ccf87bb508cf70e7138f44dc Mon Sep 17 00:00:00 2001 From: Phil Kunz Date: Fri, 25 Jan 2019 12:37:12 +0100 Subject: [PATCH] fix(core): update --- ts/smartnginx.snippets.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ts/smartnginx.snippets.ts b/ts/smartnginx.snippets.ts index 777c362..e98ad5e 100644 --- a/ts/smartnginx.snippets.ts +++ b/ts/smartnginx.snippets.ts @@ -99,6 +99,8 @@ export let getHostConfigString = (hostNameArg: string, destinationIpArg: string, proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $remote_addr; proxy_set_header X-Forwarded-Proto $scheme; + proxy_next_upstream error timeout http_404 http_429 http_500 http_502; + proxy_next_upstream_tries 5; proxy_pass http://${hostNameArg}; } }