diff --git a/host_vars/web01.l3d.space/vars.yml b/host_vars/web01.l3d.space/vars.yml index 84a05cb..9759339 100644 --- a/host_vars/web01.l3d.space/vars.yml +++ b/host_vars/web01.l3d.space/vars.yml @@ -83,6 +83,8 @@ nginx_sites: - name: 'l3d.yt' - name: 'www.l3d.yt' - name: 'l3d.ch' + webroot: + user: 'l3d' - name: 'www.l3d.ch' - name: 'l3d.me' - name: 'www.l3d.me' diff --git a/templates/files/nginx/sites/l3d.ch_tls.conf b/templates/files/nginx/sites/l3d.ch_tls.conf index 751278d..5e148eb 100644 --- a/templates/files/nginx/sites/l3d.ch_tls.conf +++ b/templates/files/nginx/sites/l3d.ch_tls.conf @@ -8,8 +8,10 @@ server { include snippets/tls_certificate_{{ site.name }}.snippet.conf; include snippets/logging_{{ site.name }}.snippet.conf; + root /srv/www/l3d.ch; + location / { - add_header X-Served-By "teapot CYBER 4.0 (with blockchain)"; - return 418; + charset utf-8; + try_files $uri $uri/ =404; } } diff --git a/templates/files/nginx/sites/winkekatze.tv_tls.conf b/templates/files/nginx/sites/winkekatze.tv_tls.conf index fbcbbe5..f0dc4e2 100644 --- a/templates/files/nginx/sites/winkekatze.tv_tls.conf +++ b/templates/files/nginx/sites/winkekatze.tv_tls.conf @@ -22,4 +22,16 @@ server { charset utf-8; return 308 https://winkekatze.tv/events/fff_bodensee_21/; } + location /hall1/ { + charset utf-8; + return 308 https://vdo.ninja/?room=wk24_hall1&password=winkekatze&hash=7fce; + } + location /hall2/ { + charset utf-8; + return 308 https://vdo.ninja/?room=wk24_hall2&password=winkekatze&hash=7fce; + } + location /hall3/ { + charset utf-8; + return 308 https://vdo.ninja/?room=wk24_hall3&password=winkekatze&hash=7fce; + } }