fix: make canvas the root generation experience

This commit is contained in:
2026-05-25 17:57:23 +08:00
parent fb9dc17b42
commit e767d2b388
13 changed files with 139 additions and 190 deletions

View File

@@ -107,14 +107,11 @@ server {
}
location = /canvas {
return 308 /canvas/;
return 308 /;
}
location /canvas/ {
auth_request /__auth;
error_page 401 = @login_redirect;
root /usr/share/nginx/html;
try_files $uri $uri/ /canvas/index.html;
location ~ ^/canvas/(.*)$ {
return 308 /$1$is_args$args;
}
location = /skg-logo-black.svg {