From 8736f5bd70dea715717c641df25870c40d4a42b9 Mon Sep 17 00:00:00 2001 From: Alex Balgavy Date: Thu, 4 Mar 2021 11:16:27 +0100 Subject: [PATCH] Use $host in nginx morty.conf template --- utils/templates/etc/nginx/default.apps-available/morty.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/templates/etc/nginx/default.apps-available/morty.conf b/utils/templates/etc/nginx/default.apps-available/morty.conf index e7ffa27e2..51f083985 100644 --- a/utils/templates/etc/nginx/default.apps-available/morty.conf +++ b/utils/templates/etc/nginx/default.apps-available/morty.conf @@ -3,7 +3,7 @@ location /morty { proxy_pass http://127.0.0.1:3000/; - proxy_set_header Host \$http_host; + proxy_set_header Host \$host; proxy_set_header Connection \$http_connection; proxy_set_header X-Real-IP \$remote_addr; proxy_set_header X-Forwarded-For \$proxy_add_x_forwarded_for;