I’m happily serving a few websites and services publicly. Now I would like to host my Navidrome server, but keep the contents private on the web to stay out of trouble. I’m afraid that when I install a reverse proxy, it’ll take my other stuff online offline and causes me various headaches that I’m not really in the headspace for at the moment. Is there a safe way to go about doing this selectively?

  • @[email protected]
    link
    fedilink
    English
    22 months ago

    A reverse proxy is basically a landing place that acts as a middle man between the client and the server. Most people set it up so that all traffic on 80 or 443 go to the reverse proxy, and then the reverse proxy gets the correct website based on the host header of the request.

    If you are currently serving multiple websites on your server, then that means you are serving each website on a different port.

    So, just make sure that the reverse proxy is serving on a port that is not used by your other sites. It will only respond on it’s own port, and it will only serve the site(s) that you have configured in the proxy.

    You’ll be fine!

    • FarraigePlaisteachOP
      link
      English
      22 months ago

      Thanks, that’s a great explanation. I’m looking forward to being able to SSH in without port forwarding.

      • @roofuskit
        link
        English
        22 months ago

        I agree that you would want a VPN for that. Look into something like tailscale.