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

16 lines
504 B
Nginx Configuration File
Raw Normal View History

2023-06-09 10:20:38 +02:00
# see https://github.com/home-assistant/addons/blob/master/nginx_proxy/rootfs/etc/nginx.conf
2022-01-08 10:04:57 +01:00
location / {
proxy_pass http://localhost:__PORT__;
proxy_set_header Host $host;
proxy_redirect http:// https://;
proxy_http_version 1.1;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header Upgrade $http_upgrade;
2023-06-09 10:20:38 +02:00
proxy_set_header Connection $connection_upgrade;
2023-07-28 20:55:13 +02:00
proxy_set_header X-Forwarded-Host $host;
2022-01-08 10:04:57 +01:00
# Include SSOWAT user panel.
include conf.d/yunohost_panel.conf.inc;
}