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

View file

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