26 lines
743 B
Markdown
26 lines
743 B
Markdown

|
|
|
|
# Jagged Pill
|
|
|
|
Jagged Pill is a webserver that responds to any request with a generated
|
|
HTML page containing random text and links. The generator is tuned to be very
|
|
nonsensical, but ends up creating some weirdly strange and poetic prose...
|
|
keep following links to find more!
|
|
|
|
I use this as an AI scraper labyrinth (or poison pill), with the following NGINX config:
|
|
|
|
```
|
|
# No AI Bots
|
|
if ($http_user_agent ~* '(AIBot|AnotherBot|YetAnotherBot)') {
|
|
rewrite ^(.*)$ /clank/$1;
|
|
}
|
|
|
|
location /clank/ {
|
|
rewrite ^/clank/(.*)$ $1 break;
|
|
proxy_set_header X-Real-IP $remote_addr;
|
|
proxy_set_header X-Forwarded-For $remote_addr;
|
|
proxy_set_header Host $http_host;
|
|
proxy_pass http://localhost:4791;
|
|
}
|
|
```
|