freeatlantis.com is one of the many independent Mastodon servers you can use to participate in the fediverse.

Administered by:

Server stats:

199
active users

#nginx

3 posts3 participants0 posts today

Coming up on my task list is getting multiple/different containers running on a single domain using subdomains… can that work?

So app1.example.com is one Podman container and app2.example.com is a different Podman container… (both using port 80)

I’ve found this guide I might try, but if you have a better way please let me know!

➡️ redhat.com/en/blog/podman-ngin

www.redhat.comHow to create multidomain web applications with Podman and NginxManaging different applications from different domains on the same host can be difficult when using different ports. When a colleague suggested I write an ar...

The #Jellyfin adventure goes on, now running on a dedicated home server (and no longer on my desktop which is off half the time). I've been wanting to get a home server for a long time but never felt like the investment in the hardware was worth it. Jellyfin changed that and I'm so excited to see what this server can be used for. For now it's only a media server, but that will change very soon. Maybe #Pihole, #nginx, #HomeAssistant...

(It's running #Arch btw)

I'm doing a bit of my own server revamp and one of the points is a decision: stay with Nginx or switch to Caddy.
For my loads I could run bashttpd, so it's only about the comfort of setting up, configuring, is it secure enough and so on.

I went for a JSON format for caddyfile (to see what you could do) and it's prohibitevly bad admin-wise....

Sidenote, this exploration blog.tjll.net/reverse-proxy-ho shows that you want Nginx as your production proxy and Caddy for file delivery.

Tyblog35 Million Hot Dogs: Benchmarking Caddy vs. NginxHave you ever wondered about the performance delta between Caddy and Nginx? Wonder no more.
For anyone who has snac deployed with httpd on OpenBSD (especially on a resource-restricted system) and is running into lag, errors, or service crashes, I highly recommend using nginx instead of httpd. Nginx--in addition to simply being faster in general--provides easy access to media caching (see @stefano@bsd.cafe's excellent article) and robust rate-limiting/traffic throttling controls.

Switching and properly tuning my nginx config seems to be (mostly) shielding my little VPS from being overwhelmed when someone with thousands of followers boosts one of my posts.

#snac #fediverse #activitypub #openbsd #nginx #httpd
IT Notes · Improving snac Performance with Nginx Proxy Cache
More from Stefano Marinelli

Publishing a photo of approximately 4MB from my snac instance (at home with 20 Mbit/sec uplink) meant overwhelming everything.
This happened because, for every remote instance, Nginx was requesting the multimedia file from snac. However, due to saturated connections, it took several seconds, leading to thread exhaustion in snac.
I resolved this issue by caching the multimedia files myself using Nginx, which significantly improved performance.

This matter will be covered in a subsequent (simple) blog post.

#snac#snac2#nginx

@brigrammer@poa.st

no fucking clue.

I'm using misskey, outta the box. It's got almost no English-language documentation. Takes a little bit of brainpower (and practice) just to run the bash installer.

#Misskey is a #Node #Typescript application, running on port 3000, and uses #postgresql and #redis for data backend. I'm assuming that the redis does fast cacheing of some sort, not sure what all is there. Also has #nginx set up as a #reverseproxy on port 80, even though the the documentation tells us to expose port 3000 to the world.

That's what I did. I'm assuming that most federation would still work even with port 3000 closed, but it's not worth taking the chance.

The entire application is very fast running and very snazzy looking when it's running all on one box with a good deal of hardware available.

I know that misskey works, and it's a good program, but I want it to be slightly budget-optimized and somewhat containerized so that I can tinker with other containerized applications with the
#VPS I already have running.