I’m going round in circles on this one.

What I want to do is:

  • serve up my self-hosted apps with https (to local clients only - nothing over the open web)
  • address them as ‘app.server.lan’ or ‘sever.lan/app’
  • preferably host whatever is needed in docker

I think this is achievable with a reverse proxy, some kind of DNS server and self-signed certs. I’m not a complete noob but my knowledge in this area is lacking. I’ve done a fair bit of research but I’m probably not using the right terminology or whatever.

Would anyone have a link to a good guide that covers this?

  • borax7385@lemmy.world
    link
    fedilink
    English
    arrow-up
    6
    ·
    1 day ago
    1. Point the hostname of your service to the IP of the proxy in the DNS.

    2. For the certs you need an internal CA. I use Step CA which has ACME support so the proxy can get certificates easily.

    3. Add the root CA certificate to your computer certificate trust store.

    4. Profit!!