bundlewrap/bundles/nginx-rtmps/items.py
2022-12-05 16:38:45 +01:00

12 lines
336 B
Python

files = {
'/etc/nginx/conf.d/rtmps.conf': {
'content_type': 'mako',
'context': {
'server_name': node.metadata.get('nginx-rtmps/hostname'),
'stream_key': node.metadata.get('nginx-rtmps/stream_key'),
},
'triggers': [
'svc_systemd:nginx:restart',
],
},
}