bundles/homeassistant: set websockets=True in nginx config
This commit is contained in:
parent
edeffee5c2
commit
df303b3487
2 changed files with 5 additions and 4 deletions
|
@ -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,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
|
@ -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]
|
||||||
|
|
Loading…
Reference in a new issue