REDIRECT UNWANTED REQUESTS WITH NGINX $ # a quick way to redirect requests from unwanted locations back $ # to those locations. In nginx config: $ grep -A16 /etc/nginx/sites-enabled/00-default map $http_referer $unwanted_referrer { ~bit\.ly 1; ~facebook\.com 1; ~fb\.me 1; ~instagram\.com 1; ~is\.gd 1; ~news\.ycombinator\.com 1; ~reddit\.com 1; ~threads\.net 1; ~twitter\.com 1; ~t\.co 1; default 0; } if ($unwanted_referrer) { return 302 $http_referer; } [gemini://michaelnordmeyer.com/gemlog/2024-02-26-enemy-at-the-gate.gmi]