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:

  • @pacology
    link
    English
    41 year ago

    You probably need something like Fabio or Nginx to serve as a load balancer in front of the two instances you want to proxy.

  • db0
    link
    fedilink
    English
    31 year ago

    Haproxy +keepalived can do it well, but you need a floating ip

    • @MigratingtoLemmyOP
      link
      English
      11 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

  • @[email protected]
    link
    fedilink
    English
    11 year ago

    My current setup is a nginx instance to load balance to 3 nginx proxy manager instances

    Can find plenty of guides on how to use a basic nginx config to load balance, and then nginx proxy manager can use a database and shared certificates.