Update homeassistant.subdomain.conf.sample

This commit is contained in:
foormea 2021-06-02 13:08:15 +02:00 committed by GitHub
commit 3f4ff68e0a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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";
} }