fix(nginx): add redirect from /admin to /taxbaik/admin for Blazor base path alignment

This commit is contained in:
2026-07-01 10:56:23 +09:00
parent d24f3f58db
commit 68291867f9
2 changed files with 78 additions and 3 deletions
+6
View File
@@ -3,6 +3,12 @@ server {
server_name taxbaik.com www.taxbaik.com;
client_max_body_size 512M;
# /admin 하위 요청을 /taxbaik/admin 으로 리다이렉트하여 Blazor Base Path 대응
location /admin {
return 301 $scheme://$host/taxbaik$request_uri;
}
# 루트 경로 요청을 /taxbaik 으로 프록싱하여 base href /taxbaik/ 에 대응
location / {
proxy_pass http://127.0.0.1:5001/taxbaik/;