bundles/nginx: allow vhosts to set their own index files
This commit is contained in:
parent
8cfcefcfc4
commit
72607adbfe
1 changed files with 3 additions and 0 deletions
|
@ -103,6 +103,9 @@ def index_files(metadata):
|
||||||
vhosts = {}
|
vhosts = {}
|
||||||
|
|
||||||
for vhost, config in metadata.get('nginx/vhosts', {}).items():
|
for vhost, config in metadata.get('nginx/vhosts', {}).items():
|
||||||
|
if 'index' in config:
|
||||||
|
continue
|
||||||
|
|
||||||
vhosts[vhost] = {
|
vhosts[vhost] = {
|
||||||
'index': [
|
'index': [
|
||||||
'index.html',
|
'index.html',
|
||||||
|
|
Loading…
Reference in a new issue