diff --git a/host_vars/web01.l3d.space/vars.yml b/host_vars/web01.l3d.space/vars.yml index d781d4c..7f37445 100644 --- a/host_vars/web01.l3d.space/vars.yml +++ b/host_vars/web01.l3d.space/vars.yml @@ -121,6 +121,8 @@ nginx_sites: - name: 'waffel.li' - name: 'www.waffel.li' - name: 'www.camp.waffel.li' + - name: '37c3.waffel.li' + - name: 'www.37c3.waffel.li' - name: 'www.c3woc.org' - name: 'c3woc.eu' - name: 'www.c3woc.eu' diff --git a/templates/files/nginx/sites/37c3.waffel.li_tls.conf b/templates/files/nginx/sites/37c3.waffel.li_tls.conf new file mode 100644 index 0000000..31e77ac --- /dev/null +++ b/templates/files/nginx/sites/37c3.waffel.li_tls.conf @@ -0,0 +1,14 @@ +server { + listen 443 ssl http2; + listen [::]:443 ssl http2; + + server_name 37c3.waffel.li; + + include snippets/tls_parameters_{{ site.name }}.snippet.conf; + include snippets/tls_certificate_{{ site.name }}.snippet.conf; + include snippets/logging_{{ site.name }}.snippet.conf; + + location / { + return 308 https://pads.c3w.at/form/#/2/form/view/YSPEX5XoeWAe4rKiLK9GcIEJ+yhPn5pHVJOQciZeDh8/; + } +} diff --git a/templates/files/nginx/sites/www.37c3.waffel.li_tls.conf b/templates/files/nginx/sites/www.37c3.waffel.li_tls.conf new file mode 100644 index 0000000..cc8846b --- /dev/null +++ b/templates/files/nginx/sites/www.37c3.waffel.li_tls.conf @@ -0,0 +1,14 @@ +server { + listen 443 ssl http2; + listen [::]:443 ssl http2; + + server_name www.37c3.waffel.li; + + include snippets/tls_parameters_{{ site.name }}.snippet.conf; + include snippets/tls_certificate_{{ site.name }}.snippet.conf; + include snippets/logging_{{ site.name }}.snippet.conf; + + location / { + return 308 https://37c3.waffel.li$request_uri; + } +}