From 390812ec33f38e036b794fbbf4b82ea6b2556805 Mon Sep 17 00:00:00 2001 From: Phil Kunz Date: Sat, 19 Jan 2019 03:04:38 +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 dd869af..d2a3b19 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 $proxy_add_x_forwarded_for; proxy_set_header X-Forwarded-Proto $scheme; + proxy_set_header Connection "Keep-Alive"; + proxy_set_header Proxy-Connection "Keep-Alive"; proxy_pass http://${hostNameArg}; } }