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:
parent
0dd07ece79
commit
54d67eae1f
3 changed files with 41 additions and 1 deletions
|
@ -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 }}"
|
||||
|
||||
|
|
16
templates/files/nginx/sites/files.l3d.ch_tls.conf
Normal file
16
templates/files/nginx/sites/files.l3d.ch_tls.conf
Normal 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;
|
||||
}
|
||||
}
|
14
templates/files/nginx/sites/www.files.l3d.ch_tls.conf
Normal file
14
templates/files/nginx/sites/www.files.l3d.ch_tls.conf
Normal 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;
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue