Hacker News new | past | comments | ask | show | jobs | submit login

I have a separate log file for the default vhost that's not parsed by log aggregation tools. Most scanners just hit your IP rather than an actual hostname (unless your site is very popular and well-known), so most spam ends up there. That keeps your actual log file much cleaner.

https://docbot.onetwoseven.one/services/nginx/#the-go-away-v...




This is a neat little solution. Thanks. I'll set this up and test it out.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: