Skip to content

Instantly share code, notes, and snippets.

View patti2's full-sized avatar

Patrick patti2

View GitHub Profile
@patti2
patti2 / rick-roll-content-scraper.conf
Last active August 19, 2020 15:28 — forked from troyhunt/rick-roll-content-scraper.js
A nginx config bit to redirect image requests from dickhead content scraper's site to a Rick Roll
set $RickRoll "";
if ($http_referer ~* laptrinhx\.com) {
set $RickRoll A;
}
if ($content_type ~* image\/) {
set $RickRoll "${RickRoll}B";
}

Keybase proof

I hereby claim:

  • I am patti2 on github.
  • I am patti2 (https://keybase.io/patti2) on keybase.
  • I have a public key ASCIe92BWSp3QpoK4LhuvWH3yPFpsLMU88rrBixsA3jz4go

To claim this, I am signing this object: