mirror of
https://github.com/DO1JLR/ansible_playbook_servers.git
synced 2024-09-14 19:53:56 +02:00
Add new domains without own content
This commit is contained in:
parent
356ab296f1
commit
41a4982786
5 changed files with 60 additions and 0 deletions
|
@ -65,6 +65,10 @@ nginx_sites:
|
|||
- name: 'www.einhornsystem.de'
|
||||
- name: 'backwesen.de'
|
||||
- name: 'www.backwesen.de'
|
||||
- name: 'c3nom.de'
|
||||
- name: 'www.c3nom.de'
|
||||
- name: 'c3doc.de'
|
||||
- name: 'www.c3doc.de'
|
||||
|
||||
|
||||
acme_notification_email: "{{ _acme_notification_email }}"
|
||||
|
|
14
templates/files/nginx/sites/c3doc.de_tls.conf
Normal file
14
templates/files/nginx/sites/c3doc.de_tls.conf
Normal file
|
@ -0,0 +1,14 @@
|
|||
server {
|
||||
listen 443 ssl http2;
|
||||
listen [::]:443 ssl http2;
|
||||
|
||||
server_name c3doc.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/c3nom.de_tls.conf
Normal file
14
templates/files/nginx/sites/c3nom.de_tls.conf
Normal file
|
@ -0,0 +1,14 @@
|
|||
server {
|
||||
listen 443 ssl http2;
|
||||
listen [::]:443 ssl http2;
|
||||
|
||||
server_name c3nom.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://c3woc.de$request_uri;
|
||||
}
|
||||
}
|
14
templates/files/nginx/sites/www.c3doc.de_tls.conf
Normal file
14
templates/files/nginx/sites/www.c3doc.de_tls.conf
Normal file
|
@ -0,0 +1,14 @@
|
|||
server {
|
||||
listen 443 ssl http2;
|
||||
listen [::]:443 ssl http2;
|
||||
|
||||
server_name www.c3doc.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://c3doc.de$request_uri;
|
||||
}
|
||||
}
|
14
templates/files/nginx/sites/www.c3nom.de_tls.conf
Normal file
14
templates/files/nginx/sites/www.c3nom.de_tls.conf
Normal file
|
@ -0,0 +1,14 @@
|
|||
server {
|
||||
listen 443 ssl http2;
|
||||
listen [::]:443 ssl http2;
|
||||
|
||||
server_name www.c3nom.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://c3nom.de$request_uri;
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue