From 605a535da717c1016a252c7a023c802908554786 Mon Sep 17 00:00:00 2001 From: L3D Date: Tue, 9 Nov 2021 14:59:54 +0100 Subject: [PATCH] Adding xn--see-br-0xa.se --- host_vars/web01.l3d.space/vars.yml | 2 ++ .../nginx/sites/www.xn--see-br-0xa.se_tls.conf | 14 ++++++++++++++ .../files/nginx/sites/xn--see-br-0xa.se_tls.conf | 16 ++++++++++++++++ 3 files changed, 32 insertions(+) create mode 100644 templates/files/nginx/sites/www.xn--see-br-0xa.se_tls.conf create mode 100644 templates/files/nginx/sites/xn--see-br-0xa.se_tls.conf diff --git a/host_vars/web01.l3d.space/vars.yml b/host_vars/web01.l3d.space/vars.yml index f1bf736..136017c 100644 --- a/host_vars/web01.l3d.space/vars.yml +++ b/host_vars/web01.l3d.space/vars.yml @@ -128,6 +128,8 @@ nginx_sites: user: 'preview' - name: 'waffelpate.de' - name: 'www.waffelpate.de' + - name: 'xn--see-br-0xa.se' + - name: 'www.xn--see-br-0xa.se' acme_notification_email: "{{ _acme_notification_email }}" diff --git a/templates/files/nginx/sites/www.xn--see-br-0xa.se_tls.conf b/templates/files/nginx/sites/www.xn--see-br-0xa.se_tls.conf new file mode 100644 index 0000000..891b9bf --- /dev/null +++ b/templates/files/nginx/sites/www.xn--see-br-0xa.se_tls.conf @@ -0,0 +1,14 @@ +server { + listen 443 ssl http2; + listen [::]:443 ssl http2; + + server_name www.xn--see-br-0xa.se www.see-bör.se; + + 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://xn--see-br-0xa.se$request_uri; + } +} diff --git a/templates/files/nginx/sites/xn--see-br-0xa.se_tls.conf b/templates/files/nginx/sites/xn--see-br-0xa.se_tls.conf new file mode 100644 index 0000000..5b67349 --- /dev/null +++ b/templates/files/nginx/sites/xn--see-br-0xa.se_tls.conf @@ -0,0 +1,16 @@ +server { + listen 443 ssl http2; + listen [::]:443 ssl http2; + + server_name xn--see-br-0xa.se see-bör.se; + + include snippets/tls_parameters_{{ site.name }}.snippet.conf; + include snippets/tls_certificate_{{ site.name }}.snippet.conf; + include snippets/logging_{{ site.name }}.snippet.conf; + + location / { + add_header X-Served-By "CYBER Teapod 2.0"; + add_header Strict-Transport-Security "max-age=31536000; includeSubDomains" + return 418; + } +}