update to bw4
This commit is contained in:
parent
d7862918a6
commit
5e2fea8497
22 changed files with 223 additions and 501 deletions
|
@ -10,9 +10,6 @@ directories = {
|
|||
|
||||
git_deploy = {
|
||||
riot_web_root: {
|
||||
'needs': {
|
||||
'directory:' + riot_web_root,
|
||||
},
|
||||
'rev': 'master',
|
||||
'repo': 'https://github.com/vector-im/riot-web.git',
|
||||
'triggers': {
|
||||
|
|
|
@ -1,12 +1,12 @@
|
|||
@metadata_processor
|
||||
@metadata_reactor
|
||||
def nginx_config(metadata):
|
||||
return {
|
||||
'nginx': {
|
||||
'vhosts': {
|
||||
metadata['riot-web']['url']: {
|
||||
'webroot': '/var/www/chat.franzi.business/webapp/',
|
||||
metadata.get('riot-web/url', None): {
|
||||
'webroot': '/var/www/{}/webapp/'.format(metadata.get('riot-web/url', None)),
|
||||
'extras': True,
|
||||
},
|
||||
},
|
||||
},
|
||||
}, DEFAULTS, DONE
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue