1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/homeassistant_ynh.git synced 2024-09-03 19:26:16 +02:00

Update nginx

This commit is contained in:
ewilly 2023-06-09 10:20:38 +02:00
parent d5430f607e
commit 9ec86f8899

View file

@ -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 / { location / {
proxy_pass http://localhost:__PORT__; proxy_pass http://localhost:__PORT__;
@ -7,7 +7,8 @@ location / {
proxy_http_version 1.1; proxy_http_version 1.1;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header Upgrade $http_upgrade; 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 SSOWAT user panel.
include conf.d/yunohost_panel.conf.inc; include conf.d/yunohost_panel.conf.inc;