traque serve index.html on /

This commit is contained in:
catvayor 2024-09-08 21:17:46 +02:00
parent c5a85f3fe8
commit b132d93b2f
Signed by: lbailly
GPG key ID: CE3E645251AC63F3

View file

@ -100,6 +100,9 @@ in
enableACME = true;
addSSL = true;
locations = {
"= /" = {
alias = "${traque-pkg}/share/traque-webroot/";
};
"/" = {
root = "${traque-pkg}/share/traque-webroot";
tryFiles = "$uri $uri.html @backend";
@ -122,6 +125,9 @@ in
enableACME = true;
addSSL = true;
locations = {
"= /" = {
alias = "/traque/static/";
};
"/" = {
root = "/traque/static";
tryFiles = "$uri $uri.html @backend";