diff --git a/bert/services/http/stjohnscccc.org.nix b/bert/services/http/stjohnscccc.org.nix index b462c02..b5dce54 100644 --- a/bert/services/http/stjohnscccc.org.nix +++ b/bert/services/http/stjohnscccc.org.nix @@ -23,6 +23,8 @@ in { services.caddy.virtualHosts.${domain}.extraConfig = '' root * ${dataDir}/public + redir /downloads /downloads/ + handle /downloads/* { file_server { browse ${./caddy-browse-template.html}