1
0
Fork 0
mirror of https://github.com/DO1JLR/ansible_playbook_servers.git synced 2024-09-14 19:53:56 +02:00
This commit is contained in:
L3D 2021-07-08 01:57:49 +02:00
parent d9a9d583e4
commit 31c79a3c08
Signed by: l3d
GPG key ID: CD08445BFF4313D1
2 changed files with 30 additions and 0 deletions

View file

@ -37,6 +37,14 @@ users:
- l3d@backup-rsa.l3d.yt - l3d@backup-rsa.l3d.yt
- l3d@business.wingcon.com - l3d@business.wingcon.com
preview:
- 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: sshd__allowed_users:
- "root" - "root"
- "ansible" - "ansible"
@ -46,6 +54,7 @@ sshd__allowed_users:
- "gitea" - "gitea"
- "wtfpreview" - "wtfpreview"
- "files" - "files"
- "preview"
sshd__allowed_groups: sshd__allowed_groups:
- "root" - "root"
@ -56,6 +65,7 @@ sshd__allowed_groups:
- "gitea" - "gitea"
- "wtfpreview" - "wtfpreview"
- "files" - "files"
- "preview"
accounts: accounts:
- 'l3d' - 'l3d'
@ -63,6 +73,7 @@ accounts:
- 'webwaffelpodcast' - 'webwaffelpodcast'
- 'wtfpreview' - 'wtfpreview'
- "files" - "files"
- "preview"
nginx_sites: nginx_sites:
- name: 'c3woc.de' - name: 'c3woc.de'
@ -127,6 +138,9 @@ nginx_sites:
webroot: webroot:
user: 'files' user: 'files'
- name: 'www.files.l3d.ch' - name: 'www.files.l3d.ch'
- name: 'preview.c3woc.de'
webroot:
user: 'preview'
acme_notification_email: "{{ _acme_notification_email }}" acme_notification_email: "{{ _acme_notification_email }}"

View file

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