1
0
Fork 0
mirror of https://github.com/DO1JLR/ansible_playbook_servers.git synced 2024-09-14 19:53:56 +02:00

Add files.l3d.ch

This commit is contained in:
L3D 2021-03-15 20:28:21 +01:00
parent 0dd07ece79
commit 54d67eae1f
Signed by: l3d
GPG key ID: CD08445BFF4313D1
3 changed files with 41 additions and 1 deletions

View file

@ -29,7 +29,13 @@ users:
- l3d@derpy.l3d.yt
- l3d@backup-rsa.l3d.yt
- l3d@business.wingcon.com
files:
- 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
sshd__allowed_users:
- "root"
@ -112,6 +118,10 @@ nginx_sites:
webroot:
user: 'wtfpreview'
- name: 'www.preview.wtf-kooperative.de'
- name: 'files.l3d.ch'
webroot:
user: 'files'
- name: 'www.files.l3d.ch'
acme_notification_email: "{{ _acme_notification_email }}"

View file

@ -0,0 +1,16 @@
server {
listen 443 ssl http2;
listen [::]:443 ssl http2;
server_name files.l3d.ch;
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/files.l3d.ch;
location / {
try_files $uri $uri/ =418;
}
}

View file

@ -0,0 +1,14 @@
server {
listen 443 ssl http2;
listen [::]:443 ssl http2;
server_name www.files.l3d.ch;
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://files.l3d.ch$request_uri;
}
}