Add initial dashboard entrypoint server side rendering routes

This commit is contained in:
Johannes Zellner
2025-07-11 11:16:03 +02:00
parent 148c0d9213
commit 66d1de0821
9 changed files with 87 additions and 7 deletions

View File

@@ -278,9 +278,16 @@ server {
return 302 /;
}
location ~ ^/(logs|filemanager|terminal|passwordreset|setupaccount).html {
proxy_pass http://127.0.0.1:3000;
}
location = / {
proxy_pass http://127.0.0.1:3000;
}
location / {
root <%= sourceDir %>/dashboard/dist;
index index.html index.htm;
error_page 404 = @dashboarderrorredirect;
}