refactor(nginx): clearer blocked partials naming

This commit is contained in:
Tine 2024-11-29 08:28:21 +01:00
parent f739cb30c5
commit 5dded26a76
Signed by: mentos1386
SSH key fingerprint: SHA256:MNtTsLbihYaWF8j1fkOHfkKNlnN1JQfxEU/rBU8nCGw
4 changed files with 4 additions and 7 deletions

View file

@ -106,8 +106,8 @@ stream {
resolver 9.9.9.9 1.1.1.1 8.8.8.8 8.8.4.4; resolver 9.9.9.9 1.1.1.1 8.8.8.8 8.8.4.4;
set_real_ip_from 0.0.0.0/0; set_real_ip_from 0.0.0.0/0;
ssl_preread on; ssl_preread on;
include /etc/nginx/partials/blocked.conf; include /etc/nginx/partials/blocked-bad-crawlers.conf;
include /etc/nginx/partials/manual-blocks.conf; include /etc/nginx/partials/blocked-manual.conf;
} }
# GIT # GIT
@ -119,8 +119,8 @@ stream {
proxy_protocol on; proxy_protocol on;
resolver 9.9.9.9 1.1.1.1 8.8.8.8 8.8.4.4; resolver 9.9.9.9 1.1.1.1 8.8.8.8 8.8.4.4;
set_real_ip_from 0.0.0.0/0; set_real_ip_from 0.0.0.0/0;
include /etc/nginx/partials/blocked.conf; include /etc/nginx/partials/blocked-bad-crawlers.conf;
include /etc/nginx/partials/manual-blocks.conf; include /etc/nginx/partials/blocked-manual.conf;
} }
# EMAIL # EMAIL
@ -142,7 +142,5 @@ stream {
proxy_protocol on; proxy_protocol on;
resolver 9.9.9.9 1.1.1.1 8.8.8.8 8.8.4.4; resolver 9.9.9.9 1.1.1.1 8.8.8.8 8.8.4.4;
set_real_ip_from 0.0.0.0/0; set_real_ip_from 0.0.0.0/0;
#include /etc/nginx/partials/blocked.conf;
#include /etc/nginx/partials/manual-blocks.conf;
} }
} }

View file

@ -1 +0,0 @@
# Default server configuration