mirror of
https://github.com/mitchellkrogza/nginx-ultimate-bad-bot-blocker.git
synced 2025-09-02 18:50:13 +00:00
[TESTS] sed / Multiple Vhosts Includes REF: #285
This commit is contained in:
parent
6a9cf5c2fb
commit
42d71c94d7
1 changed files with 0 additions and 12 deletions
|
@ -2,9 +2,6 @@ server {
|
|||
listen 8080;
|
||||
server_name xxxx;
|
||||
|
||||
include /etc/nginx/bots.d/blockbots.conf;
|
||||
|
||||
|
||||
location / {
|
||||
return 301 https://$host$request_uri;
|
||||
}
|
||||
|
@ -13,9 +10,6 @@ include /etc/nginx/bots.d/blockbots.conf;
|
|||
server {
|
||||
listen 443 ssl http2;
|
||||
server_name xxxxx
|
||||
|
||||
include /etc/nginx/bots.d/blockbots.conf;
|
||||
|
||||
root {{ vhost_www_directory }}/sites/public;
|
||||
|
||||
include {{ nginx_blockbots_cfg_path }};
|
||||
|
@ -32,9 +26,6 @@ server {
|
|||
root {{ vhost_www_directory }}/admin/public;
|
||||
server_name admin.{{ domain_to_protect }};
|
||||
|
||||
include /etc/nginx/bots.d/blockbots.conf;
|
||||
|
||||
|
||||
include {{ nginx_yprox_security_path }};
|
||||
include {{ nginx_yprox_ssl_path }};
|
||||
|
||||
|
@ -49,9 +40,6 @@ server {
|
|||
listen 443 ssl http2;
|
||||
server_name alp.{{ domain_to_protect }};
|
||||
|
||||
include /etc/nginx/bots.d/blockbots.conf;
|
||||
|
||||
|
||||
root {{ alp_live_directory }};
|
||||
include {{ nginx_bots_cfg_path }}/blockbots.conf;
|
||||
index index.html;
|
||||
|
|
Loading…
Add table
Reference in a new issue