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:
parent
70127f797b
commit
ccfe2ff0b0
2 changed files with 17 additions and 0 deletions
|
@ -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', {'*'})),
|
||||
},
|
||||
},
|
||||
}
|
||||
|
|
|
@ -95,6 +95,11 @@ nodes['home.nas'] = {
|
|||
},
|
||||
},
|
||||
},
|
||||
'jellyfin': {
|
||||
'restrict-to': {
|
||||
'home.lgtv-wohnzimmer',
|
||||
},
|
||||
},
|
||||
'mosquitto': {
|
||||
'bridges': {
|
||||
'c3voc': {
|
||||
|
|
Loading…
Reference in a new issue