mirror of
https://github.com/DO1JLR/ansible_playbook_servers.git
synced 2024-09-14 19:53:56 +02:00
c3woc podcast
This commit is contained in:
parent
06611f5628
commit
bb389f2ace
6 changed files with 71 additions and 2 deletions
|
@ -14,11 +14,20 @@ users:
|
|||
- l3d@derpy.l3d.yt
|
||||
- l3d@backup-rsa.l3d.yt
|
||||
- l3d@business.wingcon.com
|
||||
webwaffelpodcast:
|
||||
- l3d@pinkie.l3d.yt
|
||||
- l3d@mobile.l3d.yt
|
||||
- l3d@backup.l3d.yt
|
||||
- l3d@derpy.l3d.yt
|
||||
- l3d@backup-rsa.l3d.yt
|
||||
- l3d@business.wingcon.com
|
||||
|
||||
|
||||
|
||||
accounts:
|
||||
- l3d
|
||||
- webwaffel
|
||||
- webwaffelpodcast
|
||||
|
||||
nginx_sites:
|
||||
- name: 'c3woc.de'
|
||||
|
@ -35,7 +44,9 @@ nginx_sites:
|
|||
- name: 'www.l3d.space'
|
||||
- name: 'ansible.l3d.space'
|
||||
- name: 'www.ansible.l3d.space'
|
||||
|
||||
- name: 'podcast.c3woc.de'
|
||||
webroot:
|
||||
user: 'webwaffelpodcast'
|
||||
|
||||
acme_notification_email: "acme_{{ inventory_hostname }}@l3d.yt"
|
||||
|
||||
|
|
|
@ -8,7 +8,7 @@ server {
|
|||
include snippets/tls_certificate_{{ site.name }}.snippet.conf;
|
||||
include snippets/logging_{{ site.name }}.snippet.conf;
|
||||
|
||||
root /srv/www/c3woc.org;
|
||||
root /srv/www/c3woc.de;
|
||||
|
||||
location / {
|
||||
try_files $uri $uri/ =404;
|
||||
|
|
16
templates/files/nginx/sites/podcast.c3woc.de_tls.conf
Normal file
16
templates/files/nginx/sites/podcast.c3woc.de_tls.conf
Normal file
|
@ -0,0 +1,16 @@
|
|||
server {
|
||||
listen 443 ssl http2;
|
||||
listen [::]:443 ssl http2;
|
||||
|
||||
server_name podcast.c3woc.de;
|
||||
|
||||
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/podcast.c3woc.de;
|
||||
|
||||
location / {
|
||||
try_files $uri $uri/ =404;
|
||||
}
|
||||
}
|
14
templates/files/nginx/sites/podcast.c3woc.org_tls.conf
Normal file
14
templates/files/nginx/sites/podcast.c3woc.org_tls.conf
Normal file
|
@ -0,0 +1,14 @@
|
|||
server {
|
||||
listen 443 ssl http2;
|
||||
listen [::]:443 ssl http2;
|
||||
|
||||
server_name podcast.c3woc.org;
|
||||
|
||||
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://podcast.c3woc.de$request_uri;
|
||||
}
|
||||
}
|
14
templates/files/nginx/sites/www.podcast.c3woc.de_tls.conf
Normal file
14
templates/files/nginx/sites/www.podcast.c3woc.de_tls.conf
Normal file
|
@ -0,0 +1,14 @@
|
|||
server {
|
||||
listen 443 ssl http2;
|
||||
listen [::]:443 ssl http2;
|
||||
|
||||
server_name www.podcast.c3woc.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://podcast.c3woc.de$request_uri;
|
||||
}
|
||||
}
|
14
templates/files/nginx/sites/www.podcast.c3woc.org_tls.conf
Normal file
14
templates/files/nginx/sites/www.podcast.c3woc.org_tls.conf
Normal file
|
@ -0,0 +1,14 @@
|
|||
server {
|
||||
listen 443 ssl http2;
|
||||
listen [::]:443 ssl http2;
|
||||
|
||||
server_name www.podcast.c3woc.org;
|
||||
|
||||
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://podcast.c3woc.de$request_uri;
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue