From e256872700dd5b2b814b1fa051af49b416aa33cd Mon Sep 17 00:00:00 2001 From: L3D Date: Sun, 31 Jan 2021 03:41:57 +0100 Subject: [PATCH] change mailserver database creation --- host_vars/web01.l3d.space/vars.yml | 1 + roles/do1jlr.mailserver_preperation | 2 +- templates/files/nginx/sites/cyber.yt_tls.conf | 14 ++++++++++++++ 3 files changed, 16 insertions(+), 1 deletion(-) create mode 100644 templates/files/nginx/sites/cyber.yt_tls.conf diff --git a/host_vars/web01.l3d.space/vars.yml b/host_vars/web01.l3d.space/vars.yml index 0cc8990..5c4ab24 100644 --- a/host_vars/web01.l3d.space/vars.yml +++ b/host_vars/web01.l3d.space/vars.yml @@ -86,6 +86,7 @@ nginx_sites: - name: 'www.c3doc.de' - name: 'wtf-kooperative.de' - name: 'www.wtf-kooperative.de' + - name: 'cyber.yt' acme_notification_email: "{{ _acme_notification_email }}" diff --git a/roles/do1jlr.mailserver_preperation b/roles/do1jlr.mailserver_preperation index 45cad04..1e62072 160000 --- a/roles/do1jlr.mailserver_preperation +++ b/roles/do1jlr.mailserver_preperation @@ -1 +1 @@ -Subproject commit 45cad04009b03f11fc901466bf690e42fc16ad19 +Subproject commit 1e620725dfca7f63ee7dfd1cf4648757ad2dd93f diff --git a/templates/files/nginx/sites/cyber.yt_tls.conf b/templates/files/nginx/sites/cyber.yt_tls.conf new file mode 100644 index 0000000..d5b6588 --- /dev/null +++ b/templates/files/nginx/sites/cyber.yt_tls.conf @@ -0,0 +1,14 @@ +server { + listen 443 ssl http2; + listen [::]:443 ssl http2; + + server_name cyber.yt; + + 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; + } +}