this post was submitted on 25 Jun 2023
6 points (100.0% liked)

Selfhosted

40425 readers
517 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 2 years ago
MODERATORS
 

I've been running several instances nginx proxy manager for a while and using a python script I wrote to keep them synchronised but lately I've been having them crash more often than usual.

I'm tossing up between rebuilding it to aim for better stability or looking at an alternative, so figured I'd ask the community for alternatives

Ideally I would like the ability to have 2 or more instances synchronised but not really important as long as they can share the same certificates

Doesn't need any other fancy features as it's mostly for my internal services with just a few opened for outside access

*Edit

Seems swag might be worth a look, thanks all

top 11 comments
sorted by: hot top controversial new old
[–] lhx 5 points 1 year ago (2 children)
[–] [email protected] 2 points 1 year ago

Came here to suggest swag

[–] Bekar_vai 1 points 1 year ago* (last edited 1 year ago)

I would also suggest Swag , and with docker mods, u can replicate traefik's docker label feature for most known services

[–] [email protected] 3 points 1 year ago (1 children)

As a non-technical selfhoster who just does this as a hobby I swear by swag, more accessible than nginx alone and just works, I've literally had zero issues. Any attempts to try other proxys have had me going back lol.

[–] [email protected] 2 points 1 year ago (1 children)

Does it come with a GUI or is it config files only?

[–] [email protected] 2 points 1 year ago

No GUI but documentation is great with lots of hand holding lol

It comes with a folder full of premade config files for various services that you just rename from .example to .conf. And off chance you use some niche service that doesn't have one yet you can just use their general template and whip one up.

There is a dashboard addon for status/info (no configuration)

[–] [email protected] 2 points 1 year ago

NGP is the only one with a UI that's decent IMO.

But for CLI Caddy is very good and would be much easier to sync the config file between instances.

[–] alxx 2 points 1 year ago

Just out of curiousity:

I’ve been running several instances nginx proxy manager for a while and using a python script I wrote to keep them synchronised

Why are you running multiple instances? I assume because of HA/failover. But do you really need that? I know that most setups already have a single point of failure elsewhere. IMHO you are better off by making the reverse proxy or host of the reverse proxy more stable. I even multiple point of failures, such as my internet connection and modem.

An alternative would be to front your Nginx Proxy Manager with another proxy, such as HAProxy or Traefik. Both are designed for HA deployment and can also do health checks to decide what traffic to redirect to what endpoint. An HAProxy example and a Traefik example.

[–] [email protected] 1 points 1 year ago

I use Caddy and its config file is really simple. Documentation is okay. Gotta navigate a bit but good enough for simple stuff.

I've actually been meaning to switch to Nginx because of OpenResty though.

[–] [email protected] 1 points 1 year ago

I am using Caddy and it works fine and it is very easy to be set up. Also, it supports by default self-signed tls certificate as a CA, so you can copy it and install it to other devices.

[–] [email protected] 0 points 1 year ago