bundles/infobeamer-cms: move static files outside repo root
This commit is contained in:
parent
8dde3dba0b
commit
ec1efaafcc
2 changed files with 16 additions and 9 deletions
|
@ -6,6 +6,7 @@ defaults = {
|
|||
'MAX_UPLOADS': 5,
|
||||
'PREFERRED_URL_SCHEME': 'https',
|
||||
'SESSION_COOKIE_NAME': '__Host-sess',
|
||||
'STATIC_PATH': '/opt/infobeamer-cms/static',
|
||||
'URL_KEY': repo.vault.password_for(f'{node.name} infobeamer-cms url key'),
|
||||
'VERSION': 1,
|
||||
},
|
||||
|
@ -30,7 +31,7 @@ def nginx(metadata):
|
|||
'target': 'http://127.0.0.1:8000',
|
||||
},
|
||||
'/static': {
|
||||
'alias': '/opt/infobeamer-cms/src/static',
|
||||
'alias': '/opt/infobeamer-cms/static',
|
||||
},
|
||||
},
|
||||
'website_check_path': '/',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue