mirror of
https://github.com/DO1JLR/ansible_playbook_servers.git
synced 2024-09-14 19:53:56 +02:00
adding c3woc.eu
This commit is contained in:
parent
43a76e4503
commit
f7d817f74b
3 changed files with 32 additions and 0 deletions
|
@ -25,6 +25,8 @@ nginx_sites:
|
|||
webroot:
|
||||
user: 'webwaffel'
|
||||
- name: 'www.c3woc.org'
|
||||
- name: 'c3woc.eu'
|
||||
- name: 'www.c3woc.eu'
|
||||
|
||||
|
||||
acme_notification_email: "acme_{{ inventory_hostname }}@l3d.yt"
|
||||
|
|
16
templates/files/nginx/sites/c3woc.eu_tls.conf
Normal file
16
templates/files/nginx/sites/c3woc.eu_tls.conf
Normal file
|
@ -0,0 +1,16 @@
|
|||
server {
|
||||
listen 443 ssl http2;
|
||||
listen [::]:443 ssl http2;
|
||||
|
||||
server_name c3woc.eu;
|
||||
|
||||
include snippets/tls_parameters_{{ site.name }}.snippet.conf;
|
||||
include snippets/tls_certificate_{{ site.name }}.snippet.conf;
|
||||
include snippets/logging_{{ site.name }}.snippet.conf;
|
||||
|
||||
root /srv/www/c3woc.org;
|
||||
|
||||
location / {
|
||||
try_files $uri $uri/ =404;
|
||||
}
|
||||
}
|
14
templates/files/nginx/sites/www.c3woc.eu_tls.conf
Normal file
14
templates/files/nginx/sites/www.c3woc.eu_tls.conf
Normal file
|
@ -0,0 +1,14 @@
|
|||
server {
|
||||
listen 443 ssl http2;
|
||||
listen [::]:443 ssl http2;
|
||||
|
||||
server_name www.c3woc.eu;
|
||||
|
||||
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.eu$request_uri;
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue