fix alias path
This commit is contained in:
parent
bfd37e1389
commit
86aede2e4d
1 changed files with 2 additions and 2 deletions
|
|
@ -31,7 +31,7 @@ in
|
||||||
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\"}}'";
|
||||||
|
|
@ -48,7 +48,7 @@ in
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
"~ ^/~(.+?)$" = {
|
"~ ^/~(.+?)$" = {
|
||||||
alias = "/srv/http/homes/$1";
|
alias = "/srv/http/homes/$1/";
|
||||||
extraConfig = ''
|
extraConfig = ''
|
||||||
autoindex on;
|
autoindex on;
|
||||||
'';
|
'';
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue