bundles/riot-web: add nginx metadata
Some checks failed
bundlewrap/pipeline/head There was a failure building this commit
Some checks failed
bundlewrap/pipeline/head There was a failure building this commit
This commit is contained in:
parent
c4330f866b
commit
871341dd4b
2 changed files with 20 additions and 0 deletions
12
bundles/riot-web/metadata.py
Normal file
12
bundles/riot-web/metadata.py
Normal file
|
@ -0,0 +1,12 @@
|
|||
@metadata_processor
|
||||
def nginx_config(metadata):
|
||||
return {
|
||||
'nginx': {
|
||||
'vhosts': {
|
||||
metadata['riot-web']['url']: {
|
||||
'webroot': '/var/www/chat.franzi.business/webapp/',
|
||||
'extras': True,
|
||||
},
|
||||
},
|
||||
},
|
||||
}, DEFAULTS, DONE
|
Loading…
Add table
Add a link
Reference in a new issue