From 9ec86f8899ef2979b984fee0667029b8b69a50e8 Mon Sep 17 00:00:00 2001 From: ewilly Date: Fri, 9 Jun 2023 10:20:38 +0200 Subject: [PATCH] Update nginx --- conf/nginx.conf | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/conf/nginx.conf b/conf/nginx.conf index 4aae8e1..59d60dc 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -1,4 +1,4 @@ -# see https://github.com/home-assistant/addons/blob/master/nginx_proxy/data/nginx.conf +# see https://github.com/home-assistant/addons/blob/master/nginx_proxy/rootfs/etc/nginx.conf location / { proxy_pass http://localhost:__PORT__; @@ -7,7 +7,8 @@ location / { proxy_http_version 1.1; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header Upgrade $http_upgrade; - proxy_set_header Connection "Upgrade"; + proxy_set_header Connection $connection_upgrade; + proxy_set_header X-Forwarded-Host $http_host; # Include SSOWAT user panel. include conf.d/yunohost_panel.conf.inc;