home.nas: allow TV to access jellyfin without https

for some reason, connecting to the hostname fails, and connecting to the
ip using https leads to certificate errors
This commit is contained in:
Franzi 2024-01-15 21:52:48 +01:00
parent 70127f797b
commit ccfe2ff0b0
Signed by: kunsi
GPG key ID: 12E3D2136B818350
2 changed files with 17 additions and 0 deletions

View file

@ -55,3 +55,15 @@ def nginx(metadata):
},
},
}
@metadata_reactor.provides(
'firewall/port_rules',
)
def firewall(metadata):
return {
'firewall': {
'port_rules': {
'8096/tcp': atomic(metadata.get('jellyfin/restrict-to', {'*'})),
},
},
}

View file

@ -95,6 +95,11 @@ nodes['home.nas'] = {
},
},
},
'jellyfin': {
'restrict-to': {
'home.lgtv-wohnzimmer',
},
},
'mosquitto': {
'bridges': {
'c3voc': {