fix(email): do not block ips for email

This commit is contained in:
Tine 2024-11-29 08:20:09 +01:00
parent 098ed56c10
commit f739cb30c5
Signed by: mentos1386
SSH key fingerprint: SHA256:MNtTsLbihYaWF8j1fkOHfkKNlnN1JQfxEU/rBU8nCGw
2 changed files with 38 additions and 37 deletions

View file

@ -103,7 +103,9 @@ stream {
listen [::]:443;
proxy_pass $selected_upstream;
proxy_protocol on;
include /etc/nginx/partials/server.conf;
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;
ssl_preread on;
include /etc/nginx/partials/blocked.conf;
include /etc/nginx/partials/manual-blocks.conf;
}
@ -115,7 +117,8 @@ stream {
listen [::]:22;
proxy_pass batuu.system.tjo.space:2244;
proxy_protocol on;
include /etc/nginx/partials/server.conf;
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;
include /etc/nginx/partials/blocked.conf;
include /etc/nginx/partials/manual-blocks.conf;
}
@ -137,8 +140,9 @@ stream {
listen [::]:4190;
proxy_pass nevaroo.system.tjo.space:$server_port;
proxy_protocol on;
include /etc/nginx/partials/server.conf;
include /etc/nginx/partials/blocked.conf;
include /etc/nginx/partials/manual-blocks.conf;
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;
#include /etc/nginx/partials/blocked.conf;
#include /etc/nginx/partials/manual-blocks.conf;
}
}

View file

@ -1,4 +1 @@
# Default server configuration
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;
ssl_preread on;