How do I block referrer spam in nginX?

If you see traffic from odd referrers in your analytics program, you may want to block their referrer spam. You will need to perform a manual modification of your nginX virtual host file to achieve this. Add the following code to your nginX virtual host file to block...

Add A Knowledge Base Question!