mstdn.social is one of the many independent Mastodon servers you can use to participate in the fediverse.
A general-purpose Mastodon server with a 500 character limit. All languages are welcome.

Administered by:

Server stats:

16K
active users

#itnotes

1 post1 participant0 posts today
IT Notes<b>OSDay 2025 - Why Choose to Use the BSDs in 2025</b><br><br><a href="https://it-notes.dragas.net/2025/03/23/osday-2025-why-choose-bsd-in-2025/" rel="nofollow noopener noreferrer" target="_blank">https://it-notes.dragas.net/2025/03/23/osday-2025-why-choose-bsd-in-2025/</a><br><br><a href="https://snac.it-notes.dragas.net?t=itnotes" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#ITNotes</a> <a href="https://snac.it-notes.dragas.net?t=notehub" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#NoteHUB</a> <a href="https://snac.it-notes.dragas.net?t=freebsd" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#freebsd</a> <a href="https://snac.it-notes.dragas.net?t=netbsd" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#netbsd</a> <a href="https://snac.it-notes.dragas.net?t=openbsd" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#openbsd</a> <a href="https://snac.it-notes.dragas.net?t=osday" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#osday</a> <a href="https://snac.it-notes.dragas.net?t=ownyourdata" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#ownyourdata</a> <a href="https://snac.it-notes.dragas.net?t=server" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#server</a> <a href="https://snac.it-notes.dragas.net?t=zfs" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#zfs</a><br>
Stefano Marinelli<p>I've updated some of my Fediverse-related blog posts to feature the beautiful photo kindly provided by <span class="h-card" translate="no"><a href="https://mastodon.social/@_elena" class="u-url mention" rel="nofollow noopener noreferrer" target="_blank">@<span>_elena</span></a></span><br>Some of these are still on the index page, and I believe it's a much more fitting image than the previous one.</p><p><a href="https://it-notes.dragas.net/categories/fediverse/" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">it-notes.dragas.net/categories</span><span class="invisible">/fediverse/</span></a></p><p><a href="https://mastodon.bsd.cafe/tags/ITNotes" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>ITNotes</span></a>&nbsp;<a href="https://mastodon.bsd.cafe/tags/Fediverse" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Fediverse</span></a></p>
Stefano Marinelli<p>I've just launched the version of my blog with a BSD-based theme. The main colors are inspired by the BSDs, and badges will appear if a post includes one (or more) BSD in its categories. I've applied a few fixes (there are more to come), but it's already fully usable. <br>The site is designed to be navigable even without images or JavaScript, and can be used with text-based browsers. The only feature that requires JavaScript is the search function, which runs locally in the user's browser for maximum security and privacy. </p><p>For those who have already visited the site in recent days, you might not see the new theme correctly as some CSS parts could still be cached in your browser. I’ve set long expiration times for the CSS, so browsers may not notice the changes right away. </p><p><a href="https://it-notes.dragas.net" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="">it-notes.dragas.net</span><span class="invisible"></span></a></p><p><a href="https://mastodon.bsd.cafe/tags/RunBSD" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>RunBSD</span></a> <a href="https://mastodon.bsd.cafe/tags/FreeBSD" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>FreeBSD</span></a> <a href="https://mastodon.bsd.cafe/tags/NetBSD" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>NetBSD</span></a> <a href="https://mastodon.bsd.cafe/tags/OpenBSD" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>OpenBSD</span></a> <a href="https://mastodon.bsd.cafe/tags/ITNotes" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>ITNotes</span></a></p>
Stefano Marinelli<p>I've just published a new release of my blog, created by my SSG - it's in beta. I think the RSS readers will re-fetch the articles as it's a different structure, but should be working. Permalinks should also be preserved.</p><p><a href="https://it-notes.dragas.net/" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="">it-notes.dragas.net/</span><span class="invisible"></span></a></p><p><a href="https://mastodon.bsd.cafe/tags/ITNotes" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>ITNotes</span></a></p>
FediMeteoFediMeteo: How a Tiny €4 FreeBSD VPS Became a Global Weather Service for Thousands<br><br><a href="https://it-notes.dragas.net/2025/02/26/fedimeteo-how-a-tiny-freebsd-vps-became-a-global-weather-service-for-thousands/" rel="nofollow noopener noreferrer" target="_blank">https://it-notes.dragas.net/2025/02/26/fedimeteo-how-a-tiny-freebsd-vps-became-a-global-weather-service-for-thousands/</a><br><br><a href="https://fedimeteo.com/fedi?t=fedimeteo" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#FediMeteo</a> <a href="https://fedimeteo.com/fedi?t=fediverse" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#Fediverse</a> <a href="https://fedimeteo.com/fedi?t=freebsd" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#FreeBSD</a> <a href="https://fedimeteo.com/fedi?t=runbsd" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#RunBSD</a> <a href="https://fedimeteo.com/fedi?t=hosting" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#Hosting</a> <a href="https://fedimeteo.com/fedi?t=itnotes" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#ITNotes</a> <a href="https://fedimeteo.com/fedi?t=networking" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#Networking</a> <a href="https://fedimeteo.com/fedi?t=notehub" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#NoteHUB</a> <a href="https://fedimeteo.com/fedi?t=server" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#Server</a> <a href="https://fedimeteo.com/fedi?t=snac" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#Snac</a> <a href="https://fedimeteo.com/fedi?t=snac2" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#Snac2</a> <a href="https://fedimeteo.com/fedi?t=social" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#Social</a> <a href="https://fedimeteo.com/fedi?t=web" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#Web</a><br>
Stefano Marinelli<p>FediMeteo: How a Tiny €4 FreeBSD VPS Became a Global Weather Service for Thousands</p><p><a href="https://it-notes.dragas.net/2025/02/26/fedimeteo-how-a-tiny-freebsd-vps-became-a-global-weather-service-for-thousands/" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">it-notes.dragas.net/2025/02/26</span><span class="invisible">/fedimeteo-how-a-tiny-freebsd-vps-became-a-global-weather-service-for-thousands/</span></a></p><p><a href="https://mastodon.bsd.cafe/tags/Fediverse" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Fediverse</span></a> <a href="https://mastodon.bsd.cafe/tags/FreeBSD" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>FreeBSD</span></a> <a href="https://mastodon.bsd.cafe/tags/RunBSD" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>RunBSD</span></a> <a href="https://mastodon.bsd.cafe/tags/Hosting" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Hosting</span></a> <a href="https://mastodon.bsd.cafe/tags/ITNotes" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>ITNotes</span></a> <a href="https://mastodon.bsd.cafe/tags/Networking" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Networking</span></a> <a href="https://mastodon.bsd.cafe/tags/NoteHUB" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>NoteHUB</span></a> <a href="https://mastodon.bsd.cafe/tags/Server" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Server</span></a> <a href="https://mastodon.bsd.cafe/tags/Snac" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Snac</span></a> <a href="https://mastodon.bsd.cafe/tags/Snac2" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Snac2</span></a> <a href="https://mastodon.bsd.cafe/tags/Social" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Social</span></a> <a href="https://mastodon.bsd.cafe/tags/Web" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Web</span></a></p>
IT Notes<b>FediMeteo: How a Tiny €4 FreeBSD VPS Became a Global Weather Service for Thousands</b><br><br><a href="https://it-notes.dragas.net/2025/02/26/fedimeteo-how-a-tiny-freebsd-vps-became-a-global-weather-service-for-thousands/" rel="nofollow noopener noreferrer" target="_blank">https://it-notes.dragas.net/2025/02/26/fedimeteo-how-a-tiny-freebsd-vps-became-a-global-weather-service-for-thousands/</a><br><br><a href="https://snac.it-notes.dragas.net?t=fediverse" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#Fediverse</a> <a href="https://snac.it-notes.dragas.net?t=freebsd" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#Freebsd</a> <a href="https://snac.it-notes.dragas.net?t=hosting" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#Hosting</a> <a href="https://snac.it-notes.dragas.net?t=itnotes" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#ITNotes</a> <a href="https://snac.it-notes.dragas.net?t=networking" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#Networking</a> <a href="https://snac.it-notes.dragas.net?t=notehub" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#NoteHUB</a> <a href="https://snac.it-notes.dragas.net?t=server" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#Server</a> <a href="https://snac.it-notes.dragas.net?t=snac" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#Snac</a> <a href="https://snac.it-notes.dragas.net?t=snac2" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#Snac2</a> <a href="https://snac.it-notes.dragas.net?t=social" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#Social</a> <a href="https://snac.it-notes.dragas.net?t=web" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#Web</a><br>
Stefano Marinelli<p>I just finished the blog post on FediMeteo, how it was created and what it's made of. In the end, it turned out less technical than expected, but that's fine. I’ll be publishing it tomorrow morning.</p><p><a href="https://mastodon.bsd.cafe/tags/Blog" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Blog</span></a> <a href="https://mastodon.bsd.cafe/tags/BlogPost" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>BlogPost</span></a> <a href="https://mastodon.bsd.cafe/tags/ITNotes" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>ITNotes</span></a> <a href="https://mastodon.bsd.cafe/tags/StayTuned" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>StayTuned</span></a> <a href="https://mastodon.bsd.cafe/tags/FediMeteo" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>FediMeteo</span></a></p>
Menel<b>Updated Version of the apache http caching setup for snac, including proxy media</b><br><br>I already wrote about caching <a href="https://snikket.de/social/menel/p/1738788742.236526" rel="nofollow noopener noreferrer" target="_blank">here</a>.<br>Now I extended what I cache a bit.<br>This was because after enabling the option to <a href="https://comam.es/snac-doc/snac.8.html#proxy_media" rel="nofollow noopener noreferrer" target="_blank">proxy media</a>, I've seen access to the file paths /x/ and /y/ in addition to the path were snac stores the media that I include in my own posts ( /s/ ).<br>There are two locations to proxy media, depending if you requests the media via the mastodon api or via the web. (/x/ and /y/), oh and I added the nodeinfo2.0 path too, because I've noticed it was queried all the time by a lot of instances and it gives me pleasure to see something cached handed out in the access logs. 🙂 (I guess it is actually irrelevant for the system resources)<br>This is the updated setup:<br>Enable the relevant modules:<br><br><code>a2enmod expires cache cache_disk</code><br><br>Be sure "htcacheclean" is running to clean up the old disk cache. (under debian see /etc/default/apache-htcacheclean or else the relevant systemd service or whatever)<br>Then add this to the httpd Virtualhost config:<br><br><pre>&lt;LocationMatch "^/social/[^/]+/[xys]/|^/social/nodeinfo_2_0"&gt;<br>CacheEnable disk<br>Header set Cache-Control "max-age=86400, public" "expr=%{REQUEST_STATUS} == 200"<br>ExpiresActive On<br>ExpiresDefault "access plus 86400 seconds"<br>&lt;/LocationMatch&gt;<br></pre>This will use the disk cache to cache everything under the $username/s/, /x/ and /y/ paths, as well as for the <code>/nodeinfo_2_0</code> path, utilizing <code>mod_expires</code> to generate the appropriate cache headers (for lazy ones like me). In this case caching it for 1 day.<br>Further reading and all options are explained under <a href="https://httpd.apache.org/docs/2.4/caching.html" rel="nofollow noopener noreferrer" target="_blank">https://httpd.apache.org/docs/2.4/caching.html</a> (and ff)<br><br>The Header that I set here, on the condition of Status code 200, is needed for the path /y/, because snac set <code>no-cache</code> on that location and <code>mod_expires</code> will honor that if we don't override it. I set it to the same Cache-Control value as <code>mod_expires</code> would. (I use <code>mod_expires</code> because it will additionally calculate the date and put that in the <code>expires</code> header. (hence the name I guess 😀 )<br><br><a href="https://snikket.de/social?t=fediverse" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#Fediverse</a> <a href="https://snikket.de/social?t=hosting" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#Hosting</a> <a href="https://snikket.de/social?t=itnotes" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#ITNotes</a> <a href="https://snikket.de/social?t=apache2" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#apache2</a> <a href="https://snikket.de/social?t=httpd" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#httpd</a> <a href="https://snikket.de/social?t=ownyourdata" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#Ownyourdata</a> <a href="https://snikket.de/social?t=server" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#Server</a> <a href="https://snikket.de/social?t=snac" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#Snac</a> <a href="https://snikket.de/social?t=snac2" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#Snac2</a> <a href="https://snikket.de/social?t=tipsandtricks" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#Tipsandtricks</a> <a href="https://snikket.de/social?t=tutorial" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#Tutorial</a> <a href="https://snikket.de/social?t=debian" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#Debian</a> <a href="https://snikket.de/social?t=caching" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#caching</a><br>:xmpp:<br>
Menel<span class="h-card"><a href="https://snac.it-notes.dragas.net/itnotes" class="u-url mention" rel="nofollow noopener noreferrer" target="_blank">@itnotes@snac.it-notes.dragas.net</a></span><br><br>Interesting you writing about this, I actually did this too, after adding the /s/ path, I modified my rule to:<br><code>^/[^/] /[xs]/</code><br>For posted Media too, but I've seen snac adds the "no-cache" ,and related header content, and my caching for /x/ was ignored. Then I wondered if there is security problematic content stored, for snac using these headers.<br><br><a href="https://snikket.de/social?t=data" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#Data</a> <a href="https://snikket.de/social?t=fediverse" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#Fediverse</a> <a href="https://snikket.de/social?t=hosting" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#Hosting</a> <a href="https://snikket.de/social?t=itnotes" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#ITNotes</a> <a href="https://snikket.de/social?t=networking" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#Networking</a> <a href="https://snikket.de/social?t=nginx" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#Nginx</a> <a href="https://snikket.de/social?t=notehub" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#NoteHUB</a> <a href="https://snikket.de/social?t=ownyourdata" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#Ownyourdata</a> <a href="https://snikket.de/social?t=server" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#Server</a> <a href="https://snikket.de/social?t=snac" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#Snac</a> <a href="https://snikket.de/social?t=snac2" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#Snac2</a> <a href="https://snikket.de/social?t=social" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#Social</a> <a href="https://snikket.de/social?t=tipsandtricks" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#Tipsandtricks</a> <a href="https://snikket.de/social?t=tutorial" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#Tutorial</a><br>
Stefano BSD Cafe (snac instance account)Caching snac Proxied Media with Nginx<br><br><a href="https://it-notes.dragas.net/2025/02/08/caching-snac-proxied-media-with-nginx/" rel="nofollow noopener noreferrer" target="_blank">https://it-notes.dragas.net/2025/02/08/caching-snac-proxied-media-with-nginx/</a><br><br><a href="https://snac.bsd.cafe?t=data" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#Data</a> <a href="https://snac.bsd.cafe?t=fediverse" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#Fediverse</a> <a href="https://snac.bsd.cafe?t=hosting" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#Hosting</a> <a href="https://snac.bsd.cafe?t=itnotes" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#ITNotes</a> <a href="https://snac.bsd.cafe?t=networking" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#Networking</a> <a href="https://snac.bsd.cafe?t=nginx" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#Nginx</a> <a href="https://snac.bsd.cafe?t=notehub" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#NoteHUB</a> <a href="https://snac.bsd.cafe?t=ownyourdata" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#Ownyourdata</a> <a href="https://snac.bsd.cafe?t=server" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#Server</a> <a href="https://snac.bsd.cafe?t=snac" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#Snac</a> <a href="https://snac.bsd.cafe?t=snac2" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#Snac2</a> <a href="https://snac.bsd.cafe?t=social" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#Social</a> <a href="https://snac.bsd.cafe?t=tipsandtricks" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#Tipsandtricks</a> <a href="https://snac.bsd.cafe?t=tutorial" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#Tutorial</a> <a href="https://snac.bsd.cafe?t=web" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#Web</a><br>
Stefano Marinelli<p>Caching snac Proxied Media with Nginx</p><p><a href="https://it-notes.dragas.net/2025/02/08/caching-snac-proxied-media-with-nginx/" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">it-notes.dragas.net/2025/02/08</span><span class="invisible">/caching-snac-proxied-media-with-nginx/</span></a></p><p><a href="https://mastodon.bsd.cafe/tags/Data" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Data</span></a> <a href="https://mastodon.bsd.cafe/tags/Fediverse" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Fediverse</span></a> <a href="https://mastodon.bsd.cafe/tags/Hosting" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Hosting</span></a> <a href="https://mastodon.bsd.cafe/tags/ITNotes" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>ITNotes</span></a> <a href="https://mastodon.bsd.cafe/tags/Networking" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Networking</span></a> <a href="https://mastodon.bsd.cafe/tags/Nginx" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Nginx</span></a> <a href="https://mastodon.bsd.cafe/tags/NoteHUB" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>NoteHUB</span></a> <a href="https://mastodon.bsd.cafe/tags/Ownyourdata" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Ownyourdata</span></a> <a href="https://mastodon.bsd.cafe/tags/Server" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Server</span></a> <a href="https://mastodon.bsd.cafe/tags/Snac" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Snac</span></a> <a href="https://mastodon.bsd.cafe/tags/Snac2" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Snac2</span></a> <a href="https://mastodon.bsd.cafe/tags/Social" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Social</span></a> <a href="https://mastodon.bsd.cafe/tags/Tipsandtricks" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Tipsandtricks</span></a> <a href="https://mastodon.bsd.cafe/tags/Tutorial" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Tutorial</span></a> <a href="https://mastodon.bsd.cafe/tags/Web" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Web</span></a></p>
IT Notes<b>Caching snac Proxied Media with Nginx</b><br><br><a href="https://it-notes.dragas.net/2025/02/08/caching-snac-proxied-media-with-nginx/" rel="nofollow noopener noreferrer" target="_blank">https://it-notes.dragas.net/2025/02/08/caching-snac-proxied-media-with-nginx/</a><br><br><a href="https://snac.it-notes.dragas.net?t=data" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#Data</a> <a href="https://snac.it-notes.dragas.net?t=fediverse" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#Fediverse</a> <a href="https://snac.it-notes.dragas.net?t=hosting" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#Hosting</a> <a href="https://snac.it-notes.dragas.net?t=itnotes" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#ITNotes</a> <a href="https://snac.it-notes.dragas.net?t=networking" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#Networking</a> <a href="https://snac.it-notes.dragas.net?t=nginx" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#Nginx</a> <a href="https://snac.it-notes.dragas.net?t=notehub" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#NoteHUB</a> <a href="https://snac.it-notes.dragas.net?t=ownyourdata" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#Ownyourdata</a> <a href="https://snac.it-notes.dragas.net?t=server" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#Server</a> <a href="https://snac.it-notes.dragas.net?t=snac" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#Snac</a> <a href="https://snac.it-notes.dragas.net?t=snac2" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#Snac2</a> <a href="https://snac.it-notes.dragas.net?t=social" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#Social</a> <a href="https://snac.it-notes.dragas.net?t=tipsandtricks" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#Tipsandtricks</a> <a href="https://snac.it-notes.dragas.net?t=tutorial" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#Tutorial</a> <a href="https://snac.it-notes.dragas.net?t=web" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#Web</a><br>
MenelAfter seeing<br><b>Improving snac Performance with Nginx Proxy Cache</b> from <span class="h-card"><a href="https://snac.it-notes.dragas.net/itnotes" class="u-url mention" rel="nofollow noopener noreferrer" target="_blank">@itnotes@snac.it-notes.dragas.net</a></span> via<br> <a href="https://snac.it-notes.dragas.net/itnotes/p/1738139676.258050" rel="nofollow noopener noreferrer" target="_blank">https://snac.it-notes.dragas.net/itnotes/p/1738139676.258050</a><br><a href="https://it-notes.dragas.net/2025/01/29/improving-snac-performance-with-nginx-proxy-cache/" rel="nofollow noopener noreferrer" target="_blank">https://it-notes.dragas.net/2025/01/29/improving-snac-performance-with-nginx-proxy-cache/</a><br> I decided to prematurely optimize and adjust this for my apache2 httpd server in debian where I run snac.<br><br>I've never done any caching etc before so it was a nice adventure to learn something new. The documentation helped and in the end it wasn't very hard. I learned a bit about some http headers and regex on the way too.<br><br>Basically it works like this:<br>Enable the relevant modules:<br><br><pre>a2enmod expires cache cache_disk<br></pre>Be sure "htcacheclean" is running to clean up old disk cache. (under debian see /etc/default/apache-htcacheclean or else the relevant systemd service)<br>Then add to the snac virtualhost config:<br><br><pre>CacheRoot /var/cache/apache2/mod_cache_disk<br>CacheQuickHandler off<br>CacheLock on<br># Optional while testing stuff;<br>CacheDetailHeader on<br><br># My Instance ist not at the root, but under "/social"; so this needs to be adapted for most I guess:<br>&lt;LocationMatch "^/social/[^/]+/s"&gt;<br>CacheEnable disk<br>ExpiresActive On<br>ExpiresDefault "access plus 30 days"<br>&lt;/LocationMatch&gt;<br></pre>This will use the disk cache to cache everything under the /s/ Path, same as the original ngnix tutorial, Utilizing the mod_expires to generate the appropriate cache headers (for lazy ones like me), In this case caching it for 30 days.<br>Further reading and all options explained under <a href="https://httpd.apache.org/docs/2.4/caching.html" rel="nofollow noopener noreferrer" target="_blank">https://httpd.apache.org/docs/2.4/caching.html</a> ff<br><br>Thanks for the initial tutorial <span class="h-card"><a href="https://snac.it-notes.dragas.net/itnotes" class="u-url mention" rel="nofollow noopener noreferrer" target="_blank">@itnotes@snac.it-notes.dragas.net</a></span><br><br><a href="https://snikket.de/social?t=fediverse" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#Fediverse</a> <a href="https://snikket.de/social?t=hosting" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#Hosting</a> <a href="https://snikket.de/social?t=itnotes" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#ITNotes</a> <a href="https://snikket.de/social?t=networking" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#Networking</a> <a href="https://snikket.de/social?t=apache2" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#apache2</a> <a href="https://snikket.de/social?t=httpd" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#httpd</a> <a href="https://snikket.de/social?t=ownyourdata" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#Ownyourdata</a> <a href="https://snikket.de/social?t=server" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#Server</a> <a href="https://snikket.de/social?t=snac" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#Snac</a> <a href="https://snikket.de/social?t=snac2" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#Snac2</a> <a href="https://snikket.de/social?t=social" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#Social</a> <a href="https://snikket.de/social?t=tipsandtricks" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#Tipsandtricks</a> <a href="https://snikket.de/social?t=tutorial" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#Tutorial</a> <a href="https://snikket.de/social?t=web" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#Web</a> <a href="https://snikket.de/social?t=debian" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#Debian</a><br>
Stefano Marinelli<p>Improving snac Performance with Nginx Proxy Cache</p><p><a href="https://it-notes.dragas.net/2025/01/29/improving-snac-performance-with-nginx-proxy-cache/" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">it-notes.dragas.net/2025/01/29</span><span class="invisible">/improving-snac-performance-with-nginx-proxy-cache/</span></a></p><p><a href="https://mastodon.bsd.cafe/tags/Data" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Data</span></a> <a href="https://mastodon.bsd.cafe/tags/Fediverse" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Fediverse</span></a> <a href="https://mastodon.bsd.cafe/tags/FreeBSD" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>FreeBSD</span></a> <a href="https://mastodon.bsd.cafe/tags/Hosting" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Hosting</span></a> <a href="https://mastodon.bsd.cafe/tags/ITNotes" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>ITNotes</span></a> <a href="https://mastodon.bsd.cafe/tags/Networking" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Networking</span></a> <a href="https://mastodon.bsd.cafe/tags/Nginx" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Nginx</span></a> <a href="https://mastodon.bsd.cafe/tags/NoteHUB" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>NoteHUB</span></a> <a href="https://mastodon.bsd.cafe/tags/OwnYourData" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>OwnYourData</span></a> <a href="https://mastodon.bsd.cafe/tags/Server" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Server</span></a> <a href="https://mastodon.bsd.cafe/tags/Snac" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Snac</span></a> <a href="https://mastodon.bsd.cafe/tags/Snac2" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Snac2</span></a> <a href="https://mastodon.bsd.cafe/tags/Social" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Social</span></a> <a href="https://mastodon.bsd.cafe/tags/TipsAndTricks" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>TipsAndTricks</span></a> <a href="https://mastodon.bsd.cafe/tags/Tutorial" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Tutorial</span></a> <a href="https://mastodon.bsd.cafe/tags/Web" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Web</span></a></p>
IT Notes<b>Improving snac Performance with Nginx Proxy Cache</b><br><br><a href="https://it-notes.dragas.net/2025/01/29/improving-snac-performance-with-nginx-proxy-cache/" rel="nofollow noopener noreferrer" target="_blank">https://it-notes.dragas.net/2025/01/29/improving-snac-performance-with-nginx-proxy-cache/</a><br><br><a href="https://snac.it-notes.dragas.net?t=data" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#Data</a> <a href="https://snac.it-notes.dragas.net?t=fediverse" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#Fediverse</a> <a href="https://snac.it-notes.dragas.net?t=freebsd" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#Freebsd</a> <a href="https://snac.it-notes.dragas.net?t=hosting" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#Hosting</a> <a href="https://snac.it-notes.dragas.net?t=itnotes" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#ITNotes</a> <a href="https://snac.it-notes.dragas.net?t=networking" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#Networking</a> <a href="https://snac.it-notes.dragas.net?t=nginx" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#Nginx</a> <a href="https://snac.it-notes.dragas.net?t=notehub" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#NoteHUB</a> <a href="https://snac.it-notes.dragas.net?t=ownyourdata" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#Ownyourdata</a> <a href="https://snac.it-notes.dragas.net?t=server" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#Server</a> <a href="https://snac.it-notes.dragas.net?t=snac" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#Snac</a> <a href="https://snac.it-notes.dragas.net?t=snac2" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#Snac2</a> <a href="https://snac.it-notes.dragas.net?t=social" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#Social</a> <a href="https://snac.it-notes.dragas.net?t=tipsandtricks" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#Tipsandtricks</a> <a href="https://snac.it-notes.dragas.net?t=tutorial" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#Tutorial</a> <a href="https://snac.it-notes.dragas.net?t=web" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#Web</a><br>
Radio Azureus<p><span class="h-card" translate="no"><a href="https://mastodon.bsd.cafe/@stefano" class="u-url mention" rel="nofollow noopener noreferrer" target="_blank">@<span>stefano</span></a></span> </p><p>It's not a fix, but the at least the problem has been moved from your realm of control. Amazing how the NOT_SMART_PROGRAMMER refuses to understand proper programming practices.</p><p><a href="https://mastodon.social/tags/bash" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>bash</span></a> <a href="https://mastodon.social/tags/csh" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>csh</span></a> <a href="https://mastodon.social/tags/ksh" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>ksh</span></a> <a href="https://mastodon.social/tags/sh" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>sh</span></a> <a href="https://mastodon.social/tags/Data" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Data</span></a> <a href="https://mastodon.social/tags/Horrorstories" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Horrorstories</span></a> <a href="https://mastodon.social/tags/ITNotes" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>ITNotes</span></a> <a href="https://mastodon.social/tags/Sentry" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Sentry</span></a> <a href="https://mastodon.social/tags/Health" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Health</span></a> <a href="https://mastodon.social/tags/dBase" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>dBase</span></a> <a href="https://mastodon.social/tags/PostgreSQL" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>PostgreSQL</span></a> <a href="https://mastodon.social/tags/programming" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>programming</span></a> <a href="https://mastodon.social/tags/POSIX" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>POSIX</span></a></p>
Radio Azureus<p><span class="h-card" translate="no"><a href="https://mastodon.bsd.cafe/@stefano" class="u-url mention" rel="nofollow noopener noreferrer" target="_blank">@<span>stefano</span></a></span> </p><p>I was very quiet when I read the higlighted part, where you risked your health, crashing with your head to the ground unconcious, just to fix the mess again the NOT_SMART_PROGRAMMER caused again.</p><p>I have sent you all positive energy you need to get a smooth working ENV again with that programmer and all others on the whole</p><p><a href="https://mastodon.social/tags/bash" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>bash</span></a> <a href="https://mastodon.social/tags/csh" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>csh</span></a> <a href="https://mastodon.social/tags/ksh" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>ksh</span></a> <a href="https://mastodon.social/tags/sh" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>sh</span></a> <a href="https://mastodon.social/tags/Data" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Data</span></a> <a href="https://mastodon.social/tags/Horrorstories" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Horrorstories</span></a> <a href="https://mastodon.social/tags/ITNotes" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>ITNotes</span></a> <a href="https://mastodon.social/tags/Sentry" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Sentry</span></a> <a href="https://mastodon.social/tags/Health" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Health</span></a> <a href="https://mastodon.social/tags/dBase" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>dBase</span></a> <a href="https://mastodon.social/tags/PostgreSQL" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>PostgreSQL</span></a> <a href="https://mastodon.social/tags/programming" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>programming</span></a> <a href="https://mastodon.social/tags/POSIX" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>POSIX</span></a></p>
Stefano Marinelli<p>I Almost Died for a Full Sentry Database</p><p><a href="https://it-notes.dragas.net/2024/12/28/i-almost-died-for-a-full-sentry-database/" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">it-notes.dragas.net/2024/12/28</span><span class="invisible">/i-almost-died-for-a-full-sentry-database/</span></a></p><p><a href="https://mastodon.bsd.cafe/tags/Data" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Data</span></a> <a href="https://mastodon.bsd.cafe/tags/Horrorstories" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Horrorstories</span></a> <a href="https://mastodon.bsd.cafe/tags/ITNotes" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>ITNotes</span></a> <a href="https://mastodon.bsd.cafe/tags/NoteHUB" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>NoteHUB</span></a> <a href="https://mastodon.bsd.cafe/tags/Recovery" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Recovery</span></a> <a href="https://mastodon.bsd.cafe/tags/Sentry" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Sentry</span></a> <a href="https://mastodon.bsd.cafe/tags/Stories" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Stories</span></a></p>
IT Notes<b>I Almost Died for a Full Sentry Database</b><br><br><a href="https://it-notes.dragas.net/2024/12/28/i-almost-died-for-a-full-sentry-database/" rel="nofollow noopener noreferrer" target="_blank">https://it-notes.dragas.net/2024/12/28/i-almost-died-for-a-full-sentry-database/</a><br><br><a href="https://snac.it-notes.dragas.net?t=data" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#Data</a> <a href="https://snac.it-notes.dragas.net?t=horrorstories" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#Horrorstories</a> <a href="https://snac.it-notes.dragas.net?t=itnotes" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#ITNotes</a> <a href="https://snac.it-notes.dragas.net?t=notehub" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#NoteHUB</a> <a href="https://snac.it-notes.dragas.net?t=recovery" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#Recovery</a> <a href="https://snac.it-notes.dragas.net?t=sentry" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#Sentry</a> <a href="https://snac.it-notes.dragas.net?t=stories" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#Stories</a><br>