fix alias path

This commit is contained in:
XenGi 2026-02-13 21:52:58 +01:00
parent bfd37e1389
commit 86aede2e4d
Signed by: xengi
SSH key fingerprint: SHA256:jxWM2RTHvxxcncXycwwWkP7HCWb4VREN05UGJTbIPZg

View file

@ -31,7 +31,7 @@ in
root = "/srv/http/noc"; root = "/srv/http/noc";
}; };
"/twentyyears" = { "/twentyyears" = {
alias = "/srv/http/twentyyears"; alias = "/srv/http/twentyyears/";
}; };
"/.well-known/matrix/client" = { "/.well-known/matrix/client" = {
return = "200 '{\"m.homeserver\":{\"base_url\":\"https://matrix.berlin.ccc.de\"}}'"; return = "200 '{\"m.homeserver\":{\"base_url\":\"https://matrix.berlin.ccc.de\"}}'";
@ -48,7 +48,7 @@ in
''; '';
}; };
"~ ^/~(.+?)$" = { "~ ^/~(.+?)$" = {
alias = "/srv/http/homes/$1"; alias = "/srv/http/homes/$1/";
extraConfig = '' extraConfig = ''
autoindex on; autoindex on;
''; '';