mirror of
https://github.com/linuxserver/reverse-proxy-confs.git
synced 2025-08-22 06:13:49 -07:00
Update homeassistant.subdomain.conf.sample
This commit is contained in:
parent
336a0f5f39
commit
3f4ff68e0a
1 changed files with 0 additions and 7 deletions
|
@ -41,11 +41,6 @@ server {
|
||||||
|
|
||||||
# in case the service is running on `host` networking, use this instead:
|
# in case the service is running on `host` networking, use this instead:
|
||||||
# proxy_pass $upstream_proto://$upstream_IP:$upstream_port;
|
# proxy_pass $upstream_proto://$upstream_IP:$upstream_port;
|
||||||
|
|
||||||
# these seem to be needed:
|
|
||||||
proxy_set_header Host $host;
|
|
||||||
proxy_set_header Upgrade $http_upgrade;
|
|
||||||
proxy_set_header Connection "upgrade";
|
|
||||||
}
|
}
|
||||||
|
|
||||||
location /api {
|
location /api {
|
||||||
|
@ -59,8 +54,6 @@ server {
|
||||||
# in case the service is running on `host` networking, use this instead:
|
# in case the service is running on `host` networking, use this instead:
|
||||||
# proxy_pass $upstream_proto://$upstream_IP:$upstream_port;
|
# proxy_pass $upstream_proto://$upstream_IP:$upstream_port;
|
||||||
|
|
||||||
# these seem to be needed:
|
|
||||||
proxy_set_header Host $host;
|
|
||||||
proxy_set_header Upgrade $http_upgrade;
|
proxy_set_header Upgrade $http_upgrade;
|
||||||
proxy_set_header Connection "upgrade";
|
proxy_set_header Connection "upgrade";
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue