From 72607adbfe0947e9269e21c5317da029b7b78d8d Mon Sep 17 00:00:00 2001 From: Franziska Kunsmann Date: Sat, 2 Sep 2023 20:48:41 +0200 Subject: [PATCH] bundles/nginx: allow vhosts to set their own index files --- bundles/nginx/metadata.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/bundles/nginx/metadata.py b/bundles/nginx/metadata.py index 4d926f7..1d386dd 100644 --- a/bundles/nginx/metadata.py +++ b/bundles/nginx/metadata.py @@ -103,6 +103,9 @@ def index_files(metadata): vhosts = {} for vhost, config in metadata.get('nginx/vhosts', {}).items(): + if 'index' in config: + continue + vhosts[vhost] = { 'index': [ 'index.html',