diff --git a/host_vars/web01.l3d.space/vars.yml b/host_vars/web01.l3d.space/vars.yml index b1081c6..90befdc 100644 --- a/host_vars/web01.l3d.space/vars.yml +++ b/host_vars/web01.l3d.space/vars.yml @@ -59,6 +59,8 @@ nginx_sites: - name: 'www.podcast.c3vvoc.de' - name: 'podcast.c3woc.eu' - name: 'www.podcast.c3woc.eu' + - name: 'angel.systems' + - name: 'einhornsystem.de' acme_notification_email: "{{ _acme_notification_email }}" diff --git a/templates/files/nginx/sites/angel.systems_tls.conf b/templates/files/nginx/sites/angel.systems_tls.conf new file mode 100644 index 0000000..debfd7e --- /dev/null +++ b/templates/files/nginx/sites/angel.systems_tls.conf @@ -0,0 +1,14 @@ +server { + listen 443 ssl http2; + listen [::]:443 ssl http2; + + server_name angel.systems; + + 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://engelsystem.de/; + } +} diff --git a/templates/files/nginx/sites/einhornsystem.de_tls.conf b/templates/files/nginx/sites/einhornsystem.de_tls.conf new file mode 100644 index 0000000..2ca6016 --- /dev/null +++ b/templates/files/nginx/sites/einhornsystem.de_tls.conf @@ -0,0 +1,14 @@ +server { + listen 443 ssl http2; + listen [::]:443 ssl http2; + + server_name einhornsystem.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://engelsystem.de/; + } +}