Block referrer spam in nginx

Tired of having Analytics, Pingdom and other tools cluttered with irrelevant fake traffic? I created a really simple block for you to use in your site configuration file, usually found in /etc/nginx/sites-available/yoursitename.conf.

If you have any more sites just add them with the pipe character between them.

Kommentera

E-postadressen publiceras inte. Obligatoriska fält är märkta *