1
0
mirror of https://github.com/PurpleI2P/pyseeder synced 2025-01-15 09:19:57 +00:00
pyseeder/yggdrasil/reseed_nginx.conf
2021-04-12 13:35:45 -04:00

16 lines
413 B
Plaintext

limit_req_zone $binary_remote_addr zone=reseed:512k rate=10r/m;
server {
root /srv/pyseeder/output;
listen [324:9de3:fea4:f6ac::ace]:7070;
index seed.html;
location /i2pseeds.su3 {
limit_req zone=reseed burst=5;
error_page 403 /err.html;
if ($http_user_agent !~* "Wget/1.11.4" ) { return 403; }
}
location /acetone_at_mail.i2p.crt {
limit_req zone=reseed;
}
}