Internet Protests

NginX Instructions

This requires your NGINX webserver has the geo module enabled.
geo $bad_user {
    default 0;
    include /etc/nginx/banned-ips.conf;

    # In your server block at the TOP right after it starts "server {"
    if ($bad_user) { rewrite ^; }
Please make sure you copy the nginx ip's list to the /etc/nginx/banned-ips.conf file. If your nginx directory is located elsewhere use the proper path on your server. You typically put this in your main config file for nginx so it will effect all sites on your server.
Home | Install | About Bill/Press