From 5ed2c02a2b6cc008bfb7abf0620f1435e2d9243d Mon Sep 17 00:00:00 2001 From: "Ricardo (XenGi) Band" Date: Wed, 25 Feb 2026 00:41:39 +0100 Subject: [PATCH] serve homes --- hosts/www/nginx.nix | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/hosts/www/nginx.nix b/hosts/www/nginx.nix index 10d73d2..3a1e099 100644 --- a/hosts/www/nginx.nix +++ b/hosts/www/nginx.nix @@ -53,9 +53,13 @@ in default_type application/json; ''; }; - "~ ^/~(.+?)/" = { - recommendedProxySettings = true; - proxyPass = "https://home.berlin.ccc.de$request_uri"; + "~ ^/~(.+?)" = { + root = "/srv/http/homes"; + index = "index.html"; + tryFiles = "$uri $uri/ $uri.html =404"; + extraConfig = '' + autoindex on; + ''; }; }; };