this post was submitted on 07 Mar 2025
8 points (100.0% liked)
nextcloud
807 readers
2 users here now
Nextcloud is a suite of client-server software for creating and using file hosting services.
IRC: #nextcloud on libera.chat
Matrix: #nextcloud:matrix.org
Other Nextcloud communities on Lemmy
founded 4 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
If you have a domain name setup, I'd recommend using Swag as your gateway. It's a hardened nginx with lots of preconfigured samples that make it feel very plug and play. I got SSL with Let's Encrypt set up in minutes. My next task is adding SSO to my setup.
If you're using docker to run your apps, use a network with only swag on it that can connect via port 80 and 443, and put your other apps on a separate network that isn't public, swag also there and let it do its proxy thing. Run docker rootless, each container with a separate user, secrets fully secured, all that good stuff.
Is there anything Swag covers that NPM + Fail2Ban behind Cloudflare doesn't?
From a cursory look, as I don't know NPM, Swag doesn't require a database itself as all config is file based, and doesn't have any user management. Both seem to be nginx based with Fail2Ban installed, there's probably some other differences.
What I like about Swag is that with my config checked into a git repo and an act runner set up, I can reconfigure swag on the fly, with a rollback, as it's just a case of pushing an update to the repo and letting the runner pull changes and restart the container. It works very well for how I want things set up.