• 1 Post
  • 51 Comments
Joined 1 year ago
cake
Cake day: June 4th, 2023

help-circle

  • I think you can achieve it with a reverse-proxy. Let’s say that domain.com points at server 0, you’ll have to put a reverse proxy that answers all calls. In the config of the reverse proxy you’ll have to redirect the services based on the domain. I’m using Caddy and this example should work:

    0.domain.com {
                            reverse_proxy http://X.X.X.X:8080
                          }
    1.domain.com {
                            reverse_proxy http://Y.Y.Y.Y:8123
                            } 
    

    And so on.

    EDIT: Looks like I was late to the party! +1 to @greco reply as it’s more complete and clear (especially on the risks of this approach)








  • knF@lemmy.worldtoMemes@lemmy.mlMovie
    link
    fedilink
    English
    arrow-up
    2
    ·
    5 months ago

    The Expendables 4 is out? You made my day, really need to watch it! I enjoyed all of the three in the series, light humor, action, all my old heroes… couldn’t ask for more.

    Give me some time to watch it before calling the cops to pick me up :D