refactor(nginx): clearer blocked partials naming
This commit is contained in:
parent
f739cb30c5
commit
5dded26a76
4 changed files with 4 additions and 7 deletions
|
@ -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;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -1 +0,0 @@
|
||||||
# Default server configuration
|
|
Loading…
Reference in a new issue