final fixes

This commit is contained in:
XenGi 2026-02-13 23:11:41 +01:00
parent 45ad03e8c4
commit 15b561ee11
Signed by: xengi
SSH key fingerprint: SHA256:jxWM2RTHvxxcncXycwwWkP7HCWb4VREN05UGJTbIPZg

View file

@ -24,14 +24,14 @@ in
}; };
# RFC8805 # RFC8805
"/noc" = { "/noc" = {
root = "/srv/http/noc"; alias = "/srv/http/noc/";
}; };
# RFC8805 new location # RFC8805 new location
".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,11 +47,9 @@ in
default_type application/json; default_type application/json;
''; '';
}; };
"~ ^/~(.+?)/$" = { "~ ^/~(.+?)/" = {
alias = "/srv/http/homes/$1"; recommendedProxySettings = true;
extraConfig = '' proxyPass = "https://home.berlin.ccc.de$request_uri";
autoindex on;
'';
}; };
}; };
}; };