bundlewrap/bundles/riot-web/metadata.py

13 lines
326 B
Python
Raw Normal View History

2020-06-01 08:53:19 +00:00
@metadata_processor
def nginx_config(metadata):
return {
'nginx': {
'vhosts': {
metadata['riot-web']['url']: {
'webroot': '/var/www/chat.franzi.business/webapp/',
'extras': True,
},
},
},
}, DEFAULTS, DONE