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

Adding web content

This commit is contained in:
L3D 2021-11-09 15:21:24 +01:00
parent 605a535da7
commit 00ddfabd9a
Signed by: l3d
GPG key ID: CD08445BFF4313D1
2 changed files with 26 additions and 12 deletions

View file

@ -29,7 +29,6 @@ users:
- l3d@derpy.l3d.yt - l3d@derpy.l3d.yt
- l3d@backup-rsa.l3d.yt - l3d@backup-rsa.l3d.yt
- l3d@business.wingcon.com - l3d@business.wingcon.com
preview: preview:
- l3d@pinkie.l3d.yt - l3d@pinkie.l3d.yt
- l3d@mobile.l3d.yt - l3d@mobile.l3d.yt
@ -37,6 +36,13 @@ users:
- l3d@derpy.l3d.yt - l3d@derpy.l3d.yt
- l3d@backup-rsa.l3d.yt - l3d@backup-rsa.l3d.yt
- l3d@business.wingcon.com - l3d@business.wingcon.com
see:
- 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"
@ -47,6 +53,7 @@ sshd__allowed_users:
- "gitea" - "gitea"
- "files" - "files"
- "preview" - "preview"
- 'see'
sshd__allowed_groups: sshd__allowed_groups:
- "root" - "root"
@ -57,6 +64,7 @@ sshd__allowed_groups:
- "gitea" - "gitea"
- "files" - "files"
- "preview" - "preview"
- 'see'
accounts: accounts:
- 'l3d' - 'l3d'
@ -64,6 +72,7 @@ accounts:
- 'webwaffelpodcast' - 'webwaffelpodcast'
- "files" - "files"
- "preview" - "preview"
- 'see'
acme_domain_unwant_list: [] acme_domain_unwant_list: []
@ -129,6 +138,8 @@ nginx_sites:
- name: 'waffelpate.de' - name: 'waffelpate.de'
- name: 'www.waffelpate.de' - name: 'www.waffelpate.de'
- name: 'xn--see-br-0xa.se' - name: 'xn--see-br-0xa.se'
webroot:
user: 'see'
- name: 'www.xn--see-br-0xa.se' - name: 'www.xn--see-br-0xa.se'
acme_notification_email: "{{ _acme_notification_email }}" acme_notification_email: "{{ _acme_notification_email }}"

View file

@ -8,9 +8,12 @@ server {
include snippets/tls_certificate_{{ site.name }}.snippet.conf; include snippets/tls_certificate_{{ site.name }}.snippet.conf;
include snippets/logging_{{ site.name }}.snippet.conf; include snippets/logging_{{ site.name }}.snippet.conf;
root /srv/www/xn--see-br-0xa.se;
location / { location / {
add_header X-Served-By "CYBER Teapod 2.0"; add_header X-Served-By "CYBER Teapod 2.0";
add_header Strict-Transport-Security "max-age=31536000; includeSubDomains" add_header Strict-Transport-Security "max-age=31536000; includeSubDomains";
return 418; charset utf-8;
try_files $uri $uri/ =404;
} }
} }