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

@ -1,16 +1,19 @@
server { server {
listen 443 ssl http2; listen 443 ssl http2;
listen [::]:443 ssl http2; listen [::]:443 ssl http2;
server_name xn--see-br-0xa.se see-bör.se; server_name xn--see-br-0xa.se see-bör.se;
include snippets/tls_parameters_{{ site.name }}.snippet.conf; include snippets/tls_parameters_{{ site.name }}.snippet.conf;
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;
location / { root /srv/www/xn--see-br-0xa.se;
add_header X-Served-By "CYBER Teapod 2.0";
add_header Strict-Transport-Security "max-age=31536000; includeSubDomains" location / {
return 418; add_header X-Served-By "CYBER Teapod 2.0";
} add_header Strict-Transport-Security "max-age=31536000; includeSubDomains";
charset utf-8;
try_files $uri $uri/ =404;
}
} }