[ELI5] What is a reverse proxy exactly and how do I use it to run several dockerized services on one machine? - eviltoast

So, I have some idea on what a reverse proxy does and will be using nginx (with the neat proxy manager UI) for my setup.

However, I’m not completely clear what exactly I want it to do and how I cn use it to run different services on one machine. I’m especially unclear on the ports configuration … tutorials will say things like “change the listening port to xxx for that service and to port yyy for the other service”

How does this work, which ports can I use and how do I need to configure the respective services?

EDIT: thanks everybody, your replies did help me a lot! I have my basic setup now up and running using portainer + nginx + fail2ban.

  • Solvena@lemmy.worldOP
    link
    fedilink
    English
    arrow-up
    2
    ·
    1 year ago

    thank you, that clears things up a bit. Now it’s to play around with it, until I get it up and running :)

    • hungover_pilot@lemmy.world
      link
      fedilink
      English
      arrow-up
      1
      ·
      1 year ago

      For future reading this “multiplexing” is called SNI inspection/routing and it can only be used when TLS/SSL is in use.