Forgejo Scraping Protection: Nginx and Anubis

https://ayo.tokyo/blog/2026-09-09/Forgejo%20Scrapping%20Protection%3A%20Nginx%20and%20Anubis/

cross-posted from: https://lemmy.ml/post/52500169

This is a little bit of a wall of text but I hope it will be a nice sample for such a setup.

35 points · 4 comments · view on lemmy.world

4 Comments

eleijeep@piefed.social · 8 pts · 15h (1 reply)

Nice write-up. This is the first time I've encountered DynamicUser= in systemd, so I learnt something new.

AYO_Official@lemmy.ml · 3 pts · 15h

Actually same, this blog is also a nice way for me to document how my server was setup.

I am quiet distro hopping because of ARM based distribution never really working nicely (GPU acceleration, old hardware not being updated). I need to remember what is what and why as my main job is not really taking care of servers but coding.

eleijeep@piefed.social · 2 pts · 15h (1 reply)

scrap (third-person singular simple present scraps, present participle scrapping , simple past and past participle scrapped)

(transitive) To discard; to get rid of.

(transitive) To stop working on (a project or plan) indefinitely.

Synonyms: abort, cancel, mothball

https://en.wiktionary.org/wiki/scrap

vs.

scrape (third-person singular simple present scrapes, present participle scraping , simple past and past participle scraped)

(ambitransitive) To draw (an object, especially a sharp or angular one), along (something) while exerting pressure.

Synonym: scuff
She scraped the wooden plate with her fingernails.
That car often scrapes the shallowest of humps because of its low ground clearance.
...
(transitive) To collect or gather, especially without regard to the quality of what is chosen.

Just use whatever you can scrape together.

(computing, transitive) To extract data by automated means from a format not intended to be machine-readable, such as a screenshot or a formatted web page.

They didn't provide an API, so I simply scraped their website.

https://en.wiktionary.org/wiki/scrape

AYO_Official@lemmy.ml · 4 pts · 15h

Fixed, thanks. Sadly url is *** forever.