diff --git a/ts/smartnginx.snippets.ts b/ts/smartnginx.snippets.ts index 7f390f3..777c362 100644 --- a/ts/smartnginx.snippets.ts +++ b/ts/smartnginx.snippets.ts @@ -95,6 +95,7 @@ export let getHostConfigString = (hostNameArg: string, destinationIpArg: string, location / { proxy_http_version 1.1; proxy_buffering off; + proxy_redirect off; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $remote_addr; proxy_set_header X-Forwarded-Proto $scheme;