Skip Navigation
InitialsDiceBearhttps://github.com/dicebear/dicebearhttps://creativecommons.org/publicdomain/zero/1.0/„Initials” (https://github.com/dicebear/dicebear) by „DiceBear”, licensed under „CC0 1.0” (https://creativecommons.org/publicdomain/zero/1.0/)MA
Posts
1
Comments
4
Joined
1 yr. ago
  • I found that the cname record seemed to be the problem. Here someone had the same issue. After changing now to a wildcard A record pointing to the tailscale ip, it all magically works. Thanks for all the answers!

  • Selfhosted @lemmy.world
    marci @lemmy.world

    Tailscale + public domain

    Hi selfhosting community :)

    I am hosting some services on a NixOS box (Immich, Nextcloud and some others). So far I had no problem reaching my services, just via tailscale when I am not at home.

    But now I wanted to branch out and get a little fancy with https setup and a domain, so I can share my services with friends. I followed this guide and got a domain at cloudflare. However I ran into some problems.

    The relevant setup: ::: spoiler spoiler Nextcloud:

     undefined
        
    services.nextcloud = {
      enable = true;
      hostName = "nextcloud.<mydomain>.com";
      https = true;
    };
    
      

    Nginx:

     undefined
        
    services.nginx = {
      enable = true;
      virtualHosts = {
        "nextcloud.<mydomain>.com" = {
          forceSSL = true;
          useACMEHost = "<mydomain>.com";
        };
        "immich.<mydomain>.com" = {
          forceSSL = true;
          useACMEHost = "<mydomain>.com";
          locations."/".proxyPass = "http://127.0.0.1:2283/";
        };
        "immich.<machine>.<tailnet>.net" = {