sr.ht-nginx/sourcehut.conf

8 lines
145 B
Plaintext

set $python "python3.11";
set_real_ip_from 127.0.0.0/16;
set_real_ip_from 173.195.146.128/25;
if ($http_user_agent ~ Mastodon) {
return 420;
}