-
-
Notifications
You must be signed in to change notification settings - Fork 514
[BUG] prefix included many times in URL #655
Copy link
Copy link
Open
Labels
Description
Installed on FreeBSD via pkg
conf.d/globalblacklist.conf contains lines like
include /usr/local/usr/local/usr/local/usr/local/usr/local/usr/local/usr/local/usr/local/etc/nginx/bots.d/blacklist-user-agents.conf;
command run: setup-ngxblocker -v /usr/local/etc/nginx/sites-enabled -e'*' -x
Config:
Usage: setup-ngxblocker [OPTIONS]
[ -w ] : WWW path (default: /usr/local/www)
[ -e ] : Vhost file extension (default: .conf)
[ -v ] : Vhost directory (default: /usr/local/etc/nginx/sites-enabled)
[ -b ] : Bot rules directory (default: /usr/local/etc/nginx/bots.d)
[ -c ] : NGINX conf directory (default: /usr/local/etc/nginx/conf.d)
[ -m ] : NGINX main configuration (default: /usr/local/etc/nginx/nginx.conf)
[ -i ] : Change installer path (default: /usr/local/sbin/install-ngxblocker)
[ -l ] : Manual whitelist of domain (default: none)
[ -n ] : NO whitelist of .names only (default: Y)
[ -d ] : NO insert of DDOS rule (default: Y)
[ -z ] : NO configuration of vhosts (default: configure files in /usr/local/etc/nginx/sites-enabled)
[ -x ] : Actually change the files (default: don't change anything)
[ -h ] : this help message
Other files have the correct paths in them, it's only conf.d/globalblacklist.conf that is confused.
Reactions are currently unavailable