final fixes
This commit is contained in:
parent
45ad03e8c4
commit
15b561ee11
1 changed files with 6 additions and 8 deletions
|
|
@ -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;
|
|
||||||
'';
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue