I see so many posts and people who run NGINX as their reverse proxy. Why though? There’s HAProxy and Apache, with Caddy being a simpler option.

If you’re starting from scratch, why did you pick/are you picking NGINX over the others?

  • @486@lemmy.world
    link
    fedilink
    English
    34 months ago

    What does it offer that nginx doesnt?

    Automatic HTTPS, you don’t have to use certbot or something similar to get/renew certificates. Also, its configuration is really simple and straight forward.

    • @miau@lemmy.sdf.org
      link
      fedilink
      English
      24 months ago

      Thank you for your reply!

      Personally I am fine with nginx configuration, at least when using containers. The syntax is fine and all I need to do is map one file into the container

      But I took a look at the automatic cert feature and wow, that is very, very nice. I may give caddy a try for this feature only - it would simplify my current setup.

      I am also surprised it allows using HTTPS over port 443 for cert renewal. I didnt even know this was possible, so I was always stuck with DNS challanges.

      So again, thanks for your reply!