https://it-notes.dragas.net/2025/01/29/improving-snac-performance-with-nginx-proxy-cache/
nginx
https://it-notes.dragas.net/2025/01/29/improving-snac-performance-with-nginx-proxy-cache/
⁂ Postawiłem sobie dzisiaj pl-fe od Nicole @mkljczk dla mojego #GoToSocial Fedika.pl
Z małym zgrzytem. #Nginx wymagał drobnej korekty location. To pomyślałem że podzielę się, bo może ktoś się odbije od tego samego. Tu akurat domyślna konfiguracja nginx w #YunoHost-owej apce "My webapp" nie zadziałała. Wyskakiwały 404 przy logowaniu do domeny instancji.
Domyślne location było:
try_files $uri $uri/ /index.php?$args =404;
a powinien być dodany index.html, bo to przecież #SPA / #PWA:
try_files $uri $uri/ /index.html =404;
Niniejszym macie receptę jak do swoich GtSów na YunoHost dodać własne #plfe.
Polecam, to najlepszy klient webowy i na telefon 👍
P.S. Zacznę chyba nazywać #NicoleFE bo mi się pl-fe średnio podoba 😉
Anyone else use NGINX Proxy Manager in their homelab? I’ve had some real issues with caching enabled on some self hosted fedi apps.
#NGINX: An 18-year-old RCE vulnerability CVE-2026-42945 in the rewrite module enables server takeover. Update to NGINX 1.31.0 or 1.30.1 immediately!
👇
https://thehackernews.com/2026/05/18-year-old-nginx-rewrite-module-flaw.html
Dear fellow or potential fellow gotosocial instance admins,
I've come up with a novel way to set up a #gotosocial server behind a reverse proxy, which avoids the use of making new firewalling rules - both on a VPS, and creating port forwarding on one's home router. This method is ideal for minimizing the cost of running one's own #ActivityPub/#Mastodon server, in a way that leverages inexpensive fast storage on the backend (say, on a #RaspberryPi 5, 2GB of RAM, with an NVMe). As many valiant and praiseworthy Mastodon server admins might attest to, renting cloud VPS' can cost a lot, especially when storing many tens or hundreds of GB of user data.
My method avoids the need of forwarding ports 443 and 80 into one's home LAN, using DNAT (on the VPS) and port forwarding (on one's home router). In a nutshell, it's a novel use of #Wireguard, in conjunction with #nginx on the frontend, and gotosocial on the backend. This can save the cost of renting a dedicated VPS, to get the exclusive use of ports 443 and 80, in conjunction with static IPv4 and IPv6 addresses. My method optimizes on reliability and cheapness, but it's not the most secure - decryption and re-encryption happens on the VPS, before the data travels down the Wireguard tunnel. This exposes the data to any underlying hypervisor at one's hosting company. So full disclosure there.
I've run my method by the helpful gotosocial furries in their #Matrix Help chatroom (and I'm grateful for their help to debug subtle warts the method had), and got their blessing, at least to the technical soundness of the method.
I have a testing instance of gotosocial 0.21.0 set up with this new method: https://g.toque.im
I'm the user @owl on that instance, should you wish to befriend me there.
I'll make a longer blog post on this in the days to come, and post it in a reply to this post. (I also cross-posted this on another account of mine, please forgive the duplicate: @gtsadmin )
#DevOps #Linux #infosec #SelfHosting #DataSovereignty #OpenSource
🎬 Skryptowanie nginx-a za pomocą js-a. Case study na rzecz wydajności i prywatności
@kuba z Fundacji @icd pokazuje, jak wykorzystać #JavaScript do skryptowania #NGINX oraz jak ta technika może poprawić wydajność i zwiększyć prywatność użytkowników.
👉 PeerTube: https://tube.pol.social/w/2BbPBaXKQU1c2QCEThGQNR
👉 YouTube: https://www.youtube.com/watch?v=O8wkSDxssLw
#PIWO #PIWO2025 #opensource #freesoftware #prywatność #poznań
Une faille vieille de 18 ans dans Nginx, un PoC public, beaucoup de bruit… mais qui est vraiment concerné ?
Sooooo my recent mishaps with server administration are making me speed up my plans of shifting towards community-owned and -maintained hosting.
Ever since my conversation with @boris almost one year ago, I took his quote “self-hosting is selfish” as a mantra. It’s time to act accordingly.
Together with @Holly and @youjungnoh, we are putting together a group of tech-savy people who want to, respectively:
Learn more about system administration
Get their hands dirty while doing so
Maintain our own shared server
Host their own things (be them websites, projects, or services) together with comrades instead of individual infrastructure.
There are many super cool collectives that are doing this already, and we intend to draw inspiration from their work and their documentation, but we really want to do this together!
Who wants to join? Please, do reach out! I already spun up a small-ish VPS that is now hosting all my static websites. If you’d like to get involved, reach out and I would be happy to give you SSH access 🌻
We would also be very grateful if more experienced sysAds want to help us out by hosting workshops or brief classes.
We intend to meet for the first time in South Holland (but maybe virtually too) sometime during the first two weeks of March.
Next steps:
Find a name for this group/server/mission
Plan a series of (free, open) intro lessons with guests
Start hosting some things
Migrate things I am already hosting with YunoHost in our community server
Migrate to a physical device in a home of ours?
EDIT: I forgot to add this, but it goes without saying that ours would be a queer and transfeminist server
#communityHosting #Linux #sysAd #systemAdministration #selfHosting #YunoHost #Nginx #hosting #server #VPS
My #StarterPack for #Linux #SelfHosting
1) Heimdall start page for your LAN
2) Shiori bookmarks
3) Copyparty for filesharing through web or FTP
4) Kanboard Kanban board
5) Kiwix for offline website content
6) calibre-web for ebooks
7) Hyper8 for self-hosted video content, like a poor man's #Youtube.
8) mkdocs for a markdown-based wiki
I self-host all of these, using #nginx as the web server in all cases. These all consume very little RAM and CPU, and would run very performantly on a Raspberry Pi 5 2GB, with a decent SSD. No #docker needed for any of them.
#OpenSource #DataSovereignty
🐘