• 0 Posts
  • 12 Comments
Joined 3 years ago
cake
Cake day: July 19th, 2023

help-circle
  • Lots of overcomplicated answers, imo.

    Here’s what I did:

    1. Set up a DNS server (I just used Pi Hole docker)
    2. Tell router to use the DNS server
    3. Register domain
    4. Set up Caddy with https to use DNS challenge with registrar’s API key for Let’s Encrypt or similar.
    5. Add subdomain DNS entries to the DNS server for each service. The records point to Caddy’s IP (e.g. jellyfin.<domain>.com)
    6. Add each container to Caddy’s list

    Now every device at home can hit all services by domain name over https. No need for any manual configuration on any client device (certs, hosts, etc.)

    Bonus: Set up split DNS and subnet routing with Tailscale so that it uses the DNS server for that domain. Now any device connecting to the tailnet can connect to the services just like at home. No need to reconfigure apps, etc.

    Simple and it works like magic.










  • Backlinking is when you link to a page, it links back.

    For example, if I have a daily journal, I can say Fixed a problem with my [[Raspberry Pi]] setup... and then a few weeks later I can say Found a new use for [[Raspberry Pi]]..., etc.

    Now when I go to the Raspberry Pi page, it shows me a list of times I’ve linked to the page and the context.

    I use this all the time with Logseq, but I find Logseq pretty unpolished, infrequently updated, etc., so I’m always on the lookout for something nicer.