From f846668c8afca1aae3da28317b4052374d37ac3c Mon Sep 17 00:00:00 2001 From: Ashelyn Rose Date: Thu, 7 Dec 2023 00:24:39 -0700 Subject: add .well-known --- flake.nix | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'flake.nix') diff --git a/flake.nix b/flake.nix index 0163c96..a8ebccf 100644 --- a/flake.nix +++ b/flake.nix @@ -119,6 +119,12 @@ locations."/" = { root = "${pkg}"; }; + locations."/.well-known/" = { + extraConfig = '' + alias ${pkg}/.well-known/; + add_header Content-Type text/plain; + ''; + }; forceSSL = true; enableACME = true; }; -- cgit 1.4.1