jtordgeman/njs-bot-protection

No matter what, I end up on block.html

Closed this issue · 1 comments

Can I debug the script?
I think the ips.txt and cookies.txt can not be written.

I have included your script as follows:

    location / {
        js_content bot.verify;
    }

    location @pages {
        js_body_filter bot.addSnippet;
        proxy_pass http://web-app;
    }

    location /block.html {
        root /var/www/html;
    }   

sorry i missed this issue somehow.. did you end up getting it to work?