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
|
||||
"/noc" = {
|
||||
root = "/srv/http/noc";
|
||||
alias = "/srv/http/noc/";
|
||||
};
|
||||
# RFC8805 new location
|
||||
".well-known/loc" = {
|
||||
root = "/srv/http/noc";
|
||||
root = "/srv/http/noc/";
|
||||
};
|
||||
"/twentyyears/" = {
|
||||
alias = "/srv/http/twentyyears";
|
||||
alias = "/srv/http/twentyyears/";
|
||||
};
|
||||
"/.well-known/matrix/client" = {
|
||||
return = "200 '{\"m.homeserver\":{\"base_url\":\"https://matrix.berlin.ccc.de\"}}'";
|
||||
|
|
@ -47,11 +47,9 @@ in
|
|||
default_type application/json;
|
||||
'';
|
||||
};
|
||||
"~ ^/~(.+?)/$" = {
|
||||
alias = "/srv/http/homes/$1";
|
||||
extraConfig = ''
|
||||
autoindex on;
|
||||
'';
|
||||
"~ ^/~(.+?)/" = {
|
||||
recommendedProxySettings = true;
|
||||
proxyPass = "https://home.berlin.ccc.de$request_uri";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue