mirror of
https://github.com/DO1JLR/ansible_playbook_servers.git
synced 2024-09-14 19:53:56 +02:00
Adding waffelpate.de
This commit is contained in:
parent
2cecd20daf
commit
dff3c92ed1
3 changed files with 30 additions and 0 deletions
|
@ -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 }}"
|
||||
|
||||
|
|
14
templates/files/nginx/sites/waffelpate.de_tls.conf
Normal file
14
templates/files/nginx/sites/waffelpate.de_tls.conf
Normal file
|
@ -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;
|
||||
}
|
||||
}
|
14
templates/files/nginx/sites/www.waffelpate.de_tls.conf
Normal file
14
templates/files/nginx/sites/www.waffelpate.de_tls.conf
Normal file
|
@ -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;
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue