this post was submitted on 24 Jun 2023
8 points (90.0% liked)

Selfhosted

40343 readers
930 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 1 year ago
MODERATORS
 

Hi, I was looking at different reverse proxies (Traefik, Caddy, NGINX, Apache (mod_proxy), HAProxy) - I wanted to run two instances of a reverse proxy on different devices for failover. I do not find much about running reverse-proxies in a failover configuration, could someone point me at a resource related to these proxies so I can figure out how to run reverse-proxies in an HA configuration?

Thanks


Edit: The answer seems to be using keepalived, because I will be using this only in my homelab and not exposing it to the internet.

Related links if someone is interested:

you are viewing a single comment's thread
view the rest of the comments
[–] MigratingtoLemmy 1 points 1 year ago

Hi, could you explain more about why I'll need a VIP? I don't ever access an IP whilst using the reverse-proxy, what IPs would keepalived need to create a VIP (I can certainly allocate an IP, I just need to know how keepalived will work with it).

Thanks! In theory, this should work with other reverse-proxies like Traefik too, yes? Although I like the look of HAProxy haha