Skip to content

[BUG] prefix included many times in URL #655

@cstdenis

Description

@cstdenis

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.

Metadata

Metadata

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions