From 15b561ee1107b7326eff83b4690394e08f647139 Mon Sep 17 00:00:00 2001 From: "Ricardo (XenGi) Band" Date: Fri, 13 Feb 2026 23:11:41 +0100 Subject: [PATCH] final fixes --- hosts/www/nginx.nix | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/hosts/www/nginx.nix b/hosts/www/nginx.nix index f31d265..8c09315 100644 --- a/hosts/www/nginx.nix +++ b/hosts/www/nginx.nix @@ -24,14 +24,14 @@ in }; # RFC8805 "/noc" = { - root = "/srv/http/noc"; + alias = "/srv/http/noc/"; }; # RFC8805 new location ".well-known/loc" = { - root = "/srv/http/noc"; + 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\"}}'"; @@ -47,11 +47,9 @@ in default_type application/json; ''; }; - "~ ^/~(.+?)/$" = { - alias = "/srv/http/homes/$1"; - extraConfig = '' - autoindex on; - ''; + "~ ^/~(.+?)/" = { + recommendedProxySettings = true; + proxyPass = "https://home.berlin.ccc.de$request_uri"; }; }; };