fix: admin dashboard nginx 설정 수정
All checks were successful
Deploy Nginx Config to Ubuntu Server / deploy (push) Successful in 1s
All checks were successful
Deploy Nginx Config to Ubuntu Server / deploy (push) Successful in 1s
This commit is contained in:
parent
d34030c8ce
commit
c1690d108e
@ -81,10 +81,10 @@ server {
|
||||
}
|
||||
|
||||
# Admin dashboard -> 정적 파일 직접 서빙 (표준 방식)
|
||||
# 참고: frontend-customer와 동일한 패턴 (root 사용)
|
||||
# 참고: frontend-customer와 동일한 패턴 (alias 사용)
|
||||
location /admin {
|
||||
root /home/admin/admin-dashboard;
|
||||
try_files /frontend$uri /frontend$uri/ /frontend/index.html;
|
||||
alias /home/admin/admin-dashboard/frontend/;
|
||||
try_files $uri $uri/ /admin/index.html;
|
||||
index index.html;
|
||||
}
|
||||
|
||||
@ -218,10 +218,10 @@ server {
|
||||
}
|
||||
|
||||
# Admin dashboard -> 정적 파일 직접 서빙 (표준 방식)
|
||||
# 참고: frontend-customer와 동일한 패턴 (root 사용)
|
||||
# 참고: frontend-customer와 동일한 패턴 (alias 사용)
|
||||
location /admin {
|
||||
root /home/admin/admin-dashboard;
|
||||
try_files /frontend$uri /frontend$uri/ /frontend/index.html;
|
||||
alias /home/admin/admin-dashboard/frontend/;
|
||||
try_files $uri $uri/ /admin/index.html;
|
||||
index index.html;
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user