diff --git a/host_vars/web01.l3d.space/vars.yml b/host_vars/web01.l3d.space/vars.yml index c3c8dd5..f919fe8 100644 --- a/host_vars/web01.l3d.space/vars.yml +++ b/host_vars/web01.l3d.space/vars.yml @@ -129,6 +129,8 @@ nginx_sites: - name: 'preview.c3woc.de' webroot: user: 'preview' + - name: 'waffelpate.de' + - name: 'www.waffelpate.de' acme_notification_email: "{{ _acme_notification_email }}" diff --git a/templates/files/nginx/sites/waffelpate.de_tls.conf b/templates/files/nginx/sites/waffelpate.de_tls.conf new file mode 100644 index 0000000..dc8c845 --- /dev/null +++ b/templates/files/nginx/sites/waffelpate.de_tls.conf @@ -0,0 +1,14 @@ +server { + listen 443 ssl http2; + listen [::]:443 ssl http2; + + server_name waffelpate.de; + + 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 418; + } +} diff --git a/templates/files/nginx/sites/www.waffelpate.de_tls.conf b/templates/files/nginx/sites/www.waffelpate.de_tls.conf new file mode 100644 index 0000000..c156dd1 --- /dev/null +++ b/templates/files/nginx/sites/www.waffelpate.de_tls.conf @@ -0,0 +1,14 @@ +server { + listen 443 ssl http2; + listen [::]:443 ssl http2; + + server_name www.waffelpate.de; + + 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://waffelpate.de$request_uri; + } +}