serve homes

This commit is contained in:
XenGi 2026-02-25 00:41:39 +01:00
parent 44ffba40db
commit 5ed2c02a2b
Signed by: xengi
SSH key fingerprint: SHA256:dM+fLZGsDvyv6kunjE8bGduL24VsCFB4LEOSdmRHdG0

View file

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