diff --git a/host_vars/web01.l3d.space/vars.yml b/host_vars/web01.l3d.space/vars.yml index d995b14..f473f57 100644 --- a/host_vars/web01.l3d.space/vars.yml +++ b/host_vars/web01.l3d.space/vars.yml @@ -63,6 +63,8 @@ nginx_sites: - name: 'waffel.tv' - name: 'www.waffel.tv' - name: 'c3woc.org' + - name: 'waffel.li' + - name: 'www.waffel.li' - name: 'www.c3woc.org' - name: 'c3woc.eu' - name: 'www.c3woc.eu' diff --git a/templates/files/nginx/sites/waffel.li_tls.conf b/templates/files/nginx/sites/waffel.li_tls.conf new file mode 100644 index 0000000..ca4c6ed --- /dev/null +++ b/templates/files/nginx/sites/waffel.li_tls.conf @@ -0,0 +1,14 @@ +server { + listen 443 ssl http2; + listen [::]:443 ssl http2; + + server_name 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://c3woc.de$request_uri; + } +} diff --git a/templates/files/nginx/sites/www.waffel.li_tls.conf b/templates/files/nginx/sites/www.waffel.li_tls.conf new file mode 100644 index 0000000..3e67eaf --- /dev/null +++ b/templates/files/nginx/sites/www.waffel.li_tls.conf @@ -0,0 +1,14 @@ +server { + listen 443 ssl http2; + listen [::]:443 ssl http2; + + server_name www.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://c3woc.de$request_uri; + } +}