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

update nginx config

This commit is contained in:
L3D 2021-11-09 16:40:55 +01:00
parent 00ddfabd9a
commit a15f1a8e52
Signed by: l3d
GPG key ID: CD08445BFF4313D1
10 changed files with 82 additions and 77 deletions

View file

@ -1,48 +1,41 @@
---
postgres_users_no_log: false
users:
l3d:
- 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
local_users:
webwaffel:
- 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
- l3d@bsns.l3d
webwaffelpodcast:
- 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
- l3d@bsns.l3d
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
- l3d@bsns.l3d
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
- l3d@bsns.l3d
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
- l3d@bsns.l3d
sshd__allowed_users:
- "root"
@ -66,12 +59,12 @@ sshd__allowed_groups:
- "preview"
- 'see'
accounts:
local_accounts:
- 'l3d'
- 'webwaffel'
- 'webwaffelpodcast'
- "files"
- "preview"
- 'files'
- 'preview'
- 'see'
acme_domain_unwant_list: []

View file

@ -18,7 +18,7 @@
- name: user specific roles for all hosts
hosts: all
roles:
- {role: do1jlr.admin_base, tags: [default, dotfiles]}
- {role: do1jlr.admin_base, tags: [default, init, users, accounts, dotfiles]}
- {role: dotfiles, tags: [default, dotfiles]}
- {role: geerlingguy.firewall, tags: [default, firewall], become: true}
- {role: robertdebock.fail2ban, tags: [default, fail2ban], become: true}

View file

@ -14,6 +14,7 @@ server {
location / {
autoindex off;
add_header X-Served-By "teapot CYBER 4.0 (with blockchain)";
try_files $uri $uri/ =418;
}
@ -21,16 +22,19 @@ server {
autoindex on;
autoindex_exact_size off;
autoindex_localtime on;
add_header X-Served-By "teapot CYBER 4.0 (with blockchain)";
}
location /fff/ {
autoindex on;
autoindex_exact_size off;
autoindex_localtime on;
add_header X-Served-By "teapot CYBER 4.0 (with blockchain)";
}
location = /hidden/ {
autoindex off;
add_header X-Served-By "teapot CYBER 4.0 (with blockchain)";
return 418;
}
@ -38,5 +42,6 @@ server {
autoindex on;
autoindex_exact_size off;
autoindex_localtime on;
add_header X-Served-By "teapot CYBER 4.0 (with blockchain)";
}
}

View file

@ -9,6 +9,7 @@ server {
include snippets/logging_{{ site.name }}.snippet.conf;
location / {
add_header X-Served-By "teapot CYBER 4.0 (with blockchain)";
return 418;
}
}

View file

@ -9,6 +9,7 @@ server {
include snippets/logging_{{ site.name }}.snippet.conf;
location / {
add_header X-Served-By "teapot CYBER 4.0 (with blockchain)";
return 418;
}
}

View file

@ -9,6 +9,7 @@ server {
include snippets/logging_{{ site.name }}.snippet.conf;
location / {
add_header X-Served-By "teapot CYBER 4.0 (with blockchain)";
return 418;
}
}

View file

@ -9,9 +9,11 @@ server {
include snippets/logging_{{ site.name }}.snippet.conf;
location / {
add_header X-Served-By "teapot CYBER 4.0 (with blockchain)";
return 418;
}
location /rspamd/ {
add_header X-Served-By "teapot CYBER 4.0 (with blockchain)";
proxy_pass http://localhost:11334/;
proxy_set_header Host $host;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;

View file

@ -9,6 +9,7 @@ server {
include snippets/logging_{{ site.name }}.snippet.conf;
location / {
add_header X-Served-By "teapot CYBER 4.0 (with blockchain)";
return 418;
}
}

View file

@ -9,6 +9,7 @@ server {
include snippets/logging_{{ site.name }}.snippet.conf;
location / {
add_header X-Served-By "teapot CYBER 4.0 (with blockchain)";
return 418;
}
}

View file

@ -11,7 +11,7 @@ server {
root /srv/www/xn--see-br-0xa.se;
location / {
add_header X-Served-By "CYBER Teapod 2.0";
add_header X-Served-By "teapot CYBER 4.0 (with blockchain)";
add_header Strict-Transport-Security "max-age=31536000; includeSubDomains";
charset utf-8;
try_files $uri $uri/ =404;