mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-08 18:06:54 +00:00
fixed nginx configuration for subdomains (#11974)
proxy options were missing for the root location
This commit is contained in:
parent
8a19a172cf
commit
d8f2232e86
@ -85,6 +85,10 @@ server {
|
|||||||
location / {
|
location / {
|
||||||
proxy_pass http://localhost:8124;
|
proxy_pass http://localhost:8124;
|
||||||
proxy_set_header Host $host;
|
proxy_set_header Host $host;
|
||||||
|
|
||||||
|
proxy_http_version 1.1;
|
||||||
|
proxy_set_header Upgrade $http_upgrade;
|
||||||
|
proxy_set_header Connection "upgrade";
|
||||||
}
|
}
|
||||||
|
|
||||||
location /api/websocket {
|
location /api/websocket {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user