diff --git a/hosts/server/modules/atproto-pds.nix b/hosts/server/modules/atproto-pds.nix index ea752fc..b332bd0 100644 --- a/hosts/server/modules/atproto-pds.nix +++ b/hosts/server/modules/atproto-pds.nix @@ -28,8 +28,13 @@ }; }; + # Set host header to `localhost` in tunnel settings otherwise you'll end up wasting countless hours of your life + services.caddy = { enable = true; + globalConfig = '' + auto_https off + ''; virtualHosts."localhost:80".extraConfig = builtins.readFile ./Caddyfile; };