Skip to content

Need to install bad-bot-blocker on nginx #12

@ross-spencer

Description

@ross-spencer

We're seeing a lot of hits in the api counter. Looking at the error/access logs of nginx we're seeing corresponding vulnerability bots hitting the server. Example urls they're trying to hit include non-existing wordpress endpoints, sql injections and so forth.

We an install https://github.com/mitchellkrogza/nginx-ultimate-bad-bot-blocker which will help with this.

I've tried installing this tonight but it hasn't worked correctly (various different errors). Will need to look again.

For reference, the updated files were:

inserting: include /etc/nginx/conf.d/globalblacklist.conf;            => /etc/nginx/nginx.conf
inserting: include /etc/nginx/conf.d/botblocker-nginx-settings.conf;  => /etc/nginx/nginx.conf
inserting: include /etc/nginx/bots.d/blockbots.conf;                  => /etc/nginx/sites-available/default
inserting: include /etc/nginx/bots.d/ddos.conf;                       => /etc/nginx/sites-available/default

We're running the reverse proxy from nginx.cong - the includes have been removed from there.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions