From 9402b6c40f338b4c65ea275e42fb94341cd354db Mon Sep 17 00:00:00 2001 From: a2nr Date: Thu, 16 Apr 2026 08:00:32 +0700 Subject: [PATCH] add redirect from root to /velxio/editor in nginx configuration --- deploy/nginx.conf | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/deploy/nginx.conf b/deploy/nginx.conf index 252c7cd..568ee2d 100644 --- a/deploy/nginx.conf +++ b/deploy/nginx.conf @@ -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; }