fix alias path

This commit is contained in:
XenGi 2026-02-13 21:54:32 +01:00
parent 86aede2e4d
commit 76e33549e1
Signed by: xengi
SSH key fingerprint: SHA256:jxWM2RTHvxxcncXycwwWkP7HCWb4VREN05UGJTbIPZg

View file

@ -30,8 +30,8 @@ in
".well-known/loc" = { ".well-known/loc" = {
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\"}}'";
@ -47,8 +47,8 @@ in
default_type application/json; default_type application/json;
''; '';
}; };
"~ ^/~(.+?)$" = { "~ ^/~(.+?)/$" = {
alias = "/srv/http/homes/$1/"; alias = "/srv/http/homes/$1";
extraConfig = '' extraConfig = ''
autoindex on; autoindex on;
''; '';