add redirect from root to /velxio/editor in nginx configuration

master
a2nr 2026-04-16 08:00:32 +07:00
parent 87be2526ba
commit 9402b6c40f
1 changed files with 4 additions and 0 deletions

View File

@ -75,6 +75,10 @@ server {
gzip_types text/plain text/css text/xml text/javascript application/javascript application/json application/xml application/rss+xml;
# Frontend SPA routing must be last so specific locations above take precedence
location = / {
return 301 /velxio/editor;
}
location / {
try_files $uri $uri/ /index.html;
}