Comment on Forgejo fills up hard drive with repo-archives
JadedBlueEyes@programming.dev 2 days ago
A few days late, but I have a pretty similar usecase to you on forgejo.ellis.link. My solution is go-away, git.gammaspectra.live/git/go-away, which just sits as a reverse proxy in between traefik and Forgejo. I haven’t enabled fancy stuff like TLS fingerprinting. It’s been effective enough at killing the bots downloading archives and DDoSing the server from residential IPs. My config is based on the example Forgejo config, but with a few tweaks. Too long to post here, though, so message me if you need access
jeena@piefed.jeena.net 2 days ago
For now I feel disabling archives and my simple list of bots to drop in Nginx seems to work very well, it doesn't create the archives anymore and the load went down also on the server.