fix(email): do not block ips for email
This commit is contained in:
parent
098ed56c10
commit
f739cb30c5
2 changed files with 38 additions and 37 deletions
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue