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; + ''; }; }; };