bundles/homeassistant: set websockets=True in nginx config

This commit is contained in:
Franzi 2022-12-22 20:01:35 +01:00
parent edeffee5c2
commit df303b3487
Signed by: kunsi
GPG key ID: 12E3D2136B818350
2 changed files with 5 additions and 4 deletions

View file

@ -58,6 +58,7 @@ def nginx(metadata):
'locations': { 'locations': {
'/': { '/': {
'target': 'http://127.0.0.1:8123', 'target': 'http://127.0.0.1:8123',
'websockets': True,
}, },
}, },
}, },

View file

@ -1,7 +1,7 @@
hostname = "172.19.138.25" hostname = "172.19.138.25"
bundles = [ bundles = [
'homeassistant', 'homeassistant',
'nginx' 'nginx'
] ]
groups = ["debian-bullseye"] groups = ["debian-bullseye"]
@ -23,8 +23,8 @@ version = '2022.12.8'
[metadata.nginx] [metadata.nginx]
restrict-to = [ restrict-to = [
'172.19.136.0/25', '172.19.136.0/25',
'172.19.138.0/24', '172.19.138.0/24',
] ]
[metadata.nginx.vhosts.homeassistant] [metadata.nginx.vhosts.homeassistant]