From e8e513e6d467910fdc517db29a7b295a372652ec Mon Sep 17 00:00:00 2001 From: Sophie Schiller Date: Sat, 13 Mar 2021 13:31:28 +0100 Subject: [PATCH] bw/miniserver new vhost --- .../extras/htz-cloud.miniserver/webdump.sophies-kitchen.eu | 5 +++++ nodes/htz-cloud/miniserver.py | 4 +++- 2 files changed, 8 insertions(+), 1 deletion(-) create mode 100644 data/nginx/files/extras/htz-cloud.miniserver/webdump.sophies-kitchen.eu diff --git a/data/nginx/files/extras/htz-cloud.miniserver/webdump.sophies-kitchen.eu b/data/nginx/files/extras/htz-cloud.miniserver/webdump.sophies-kitchen.eu new file mode 100644 index 0000000..0fd618b --- /dev/null +++ b/data/nginx/files/extras/htz-cloud.miniserver/webdump.sophies-kitchen.eu @@ -0,0 +1,5 @@ + location / + { + add_header Access-Control-Allow-Origin *; + } + diff --git a/nodes/htz-cloud/miniserver.py b/nodes/htz-cloud/miniserver.py index cf58fb6..a98ef77 100644 --- a/nodes/htz-cloud/miniserver.py +++ b/nodes/htz-cloud/miniserver.py @@ -67,16 +67,18 @@ nodes['htz-cloud.miniserver'] = { }, 'domains': { 'i.sophies-kitchen.eu': set(), + 'webdump.sophies-kitchen.eu': set(), }, }, 'nginx': { 'vhosts': { - 'i.sophies-kitchen.eu': { + 'webdump.sophies-kitchen.eu': { 'webroot_config': { 'owner': 'sophie', 'group': 'sophie', 'mode': '0755', }, + 'extras': True, }, }, },