From a0eb48c32b0b39381805aa71a22cbd46aa755fa3 Mon Sep 17 00:00:00 2001 From: Erik Date: Tue, 2 Jul 2013 10:20:29 -0400 Subject: [PATCH] ensure that the original http_host gets passed in the proxy to the app --- plugins/nginx-vhosts/post-deploy | 1 + 1 file changed, 1 insertion(+) diff --git a/plugins/nginx-vhosts/post-deploy b/plugins/nginx-vhosts/post-deploy index 30b0dfb4a..2b2650369 100755 --- a/plugins/nginx-vhosts/post-deploy +++ b/plugins/nginx-vhosts/post-deploy @@ -14,6 +14,7 @@ server { proxy_http_version 1.1; proxy_set_header Upgrade \$http_upgrade; proxy_set_header Connection "upgrade"; + proxy_set_header Host \$http_host; } } EOF