Hacker News new | ask | show | jobs
by palsecam 1844 days ago
Related thread: https://news.ycombinator.com/item?id=24206899

I myself use 418 as a reply to mean bots. Fun + makes filtering logs easier.

Nginx config snippet:

  # Nothing to hack around here, I’m just a teapot:
  location ~* \.(?:php|aspx?|jsp|dll|sql|bak)$ { 
      return 418; 
  }
  error_page 418 /418.html;
Example: https://FreeSolitaire.win/wp-login.php