fix alias path
This commit is contained in:
parent
86aede2e4d
commit
76e33549e1
1 changed files with 4 additions and 4 deletions
|
|
@ -30,8 +30,8 @@ in
|
|||
".well-known/loc" = {
|
||||
root = "/srv/http/noc";
|
||||
};
|
||||
"/twentyyears" = {
|
||||
alias = "/srv/http/twentyyears/";
|
||||
"/twentyyears/" = {
|
||||
alias = "/srv/http/twentyyears";
|
||||
};
|
||||
"/.well-known/matrix/client" = {
|
||||
return = "200 '{\"m.homeserver\":{\"base_url\":\"https://matrix.berlin.ccc.de\"}}'";
|
||||
|
|
@ -47,8 +47,8 @@ in
|
|||
default_type application/json;
|
||||
'';
|
||||
};
|
||||
"~ ^/~(.+?)$" = {
|
||||
alias = "/srv/http/homes/$1/";
|
||||
"~ ^/~(.+?)/$" = {
|
||||
alias = "/srv/http/homes/$1";
|
||||
extraConfig = ''
|
||||
autoindex on;
|
||||
'';
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue