So I’ve got a couple of services that I access using mydomain.org:1234 for example, but since Nextcloud runs its own web server it’s hosted on mydomain.org/nextcloud.

How do I set up my services so I can access them from a friendly URI like Nextcloud instead of ports?

  • Vendetta9076@sh.itjust.works
    link
    fedilink
    English
    arrow-up
    1
    ·
    edit-2
    9 months ago

    Depends on how your infra is setup but if you’re using a reverse proxy you can do it fairly easily. This example is assuming cloudflare as its what I use.

    Go into cloudflare -> dns then add cname records for your services. The cname record should be service.mydomain.com. Then all you gotta do is tell your proxy what that cname points to. Gonna be honest, been using truenas scale for a while and it does it differently that straight docker which I assume you’re using so I probably wont be much more help but it should at least get you started. If you aren’t using a reverse proxy, you should definitely start. Look up Traefik.