diff --git a/hosts/www/nginx.nix b/hosts/www/nginx.nix index 832244a..6032ec7 100644 --- a/hosts/www/nginx.nix +++ b/hosts/www/nginx.nix @@ -31,7 +31,7 @@ in root = "/srv/http/noc"; }; "/twentyyears" = { - alias = "/srv/http/twentyyears"; + alias = "/srv/http/twentyyears/"; }; "/.well-known/matrix/client" = { return = "200 '{\"m.homeserver\":{\"base_url\":\"https://matrix.berlin.ccc.de\"}}'"; @@ -48,7 +48,7 @@ in ''; }; "~ ^/~(.+?)$" = { - alias = "/srv/http/homes/$1"; + alias = "/srv/http/homes/$1/"; extraConfig = '' autoindex on; '';