From 76e33549e1c2987cacf1497b7b0ca0a6435cf246 Mon Sep 17 00:00:00 2001 From: "Ricardo (XenGi) Band" Date: Fri, 13 Feb 2026 21:54:32 +0100 Subject: [PATCH] fix alias path --- hosts/www/nginx.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/hosts/www/nginx.nix b/hosts/www/nginx.nix index 6032ec7..073e7d0 100644 --- a/hosts/www/nginx.nix +++ b/hosts/www/nginx.nix @@ -30,8 +30,8 @@ in ".well-known/loc" = { root = "/srv/http/noc"; }; - "/twentyyears" = { - alias = "/srv/http/twentyyears/"; + "/twentyyears/" = { + alias = "/srv/http/twentyyears"; }; "/.well-known/matrix/client" = { return = "200 '{\"m.homeserver\":{\"base_url\":\"https://matrix.berlin.ccc.de\"}}'"; @@ -47,8 +47,8 @@ in default_type application/json; ''; }; - "~ ^/~(.+?)$" = { - alias = "/srv/http/homes/$1/"; + "~ ^/~(.+?)/$" = { + alias = "/srv/http/homes/$1"; extraConfig = '' autoindex on; '';