bundlewrap/bundles/riot-web/metadata.py
Franziska Kunsmann 871341dd4b
Some checks failed
bundlewrap/pipeline/head There was a failure building this commit
bundles/riot-web: add nginx metadata
2020-06-01 10:53:19 +02:00

12 lines
326 B
Python

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