traque serve index.html on /
This commit is contained in:
parent
c5a85f3fe8
commit
b132d93b2f
1 changed files with 6 additions and 0 deletions
|
@ -100,6 +100,9 @@ in
|
||||||
enableACME = true;
|
enableACME = true;
|
||||||
addSSL = true;
|
addSSL = true;
|
||||||
locations = {
|
locations = {
|
||||||
|
"= /" = {
|
||||||
|
alias = "${traque-pkg}/share/traque-webroot/";
|
||||||
|
};
|
||||||
"/" = {
|
"/" = {
|
||||||
root = "${traque-pkg}/share/traque-webroot";
|
root = "${traque-pkg}/share/traque-webroot";
|
||||||
tryFiles = "$uri $uri.html @backend";
|
tryFiles = "$uri $uri.html @backend";
|
||||||
|
@ -122,6 +125,9 @@ in
|
||||||
enableACME = true;
|
enableACME = true;
|
||||||
addSSL = true;
|
addSSL = true;
|
||||||
locations = {
|
locations = {
|
||||||
|
"= /" = {
|
||||||
|
alias = "/traque/static/";
|
||||||
|
};
|
||||||
"/" = {
|
"/" = {
|
||||||
root = "/traque/static";
|
root = "/traque/static";
|
||||||
tryFiles = "$uri $uri.html @backend";
|
tryFiles = "$uri $uri.html @backend";
|
||||||
|
|
Loading…
Reference in a new issue