Fix: IR Valuation nginx try_files configuration
All checks were successful
Deploy Nginx Config to Ubuntu Server / deploy (push) Successful in 2s

This commit is contained in:
happybell80 2025-11-28 16:47:44 +09:00
parent b4ac7ac2b8
commit ba597ac187

View File

@ -92,7 +92,8 @@ server {
# IR Valuation Frontend # IR Valuation Frontend
location /ir-valuation { location /ir-valuation {
alias /home/admin/frontend-ir-valuation/dist/; alias /home/admin/frontend-ir-valuation/dist/;
try_files $uri /ir-valuation/index.html; try_files $uri $uri/ /ir-valuation/index.html;
index index.html;
} }
# API endpoints -> route to gateway (host 8100 -> container 8000) # API endpoints -> route to gateway (host 8100 -> container 8000)
@ -236,7 +237,8 @@ server {
# IR Valuation Frontend # IR Valuation Frontend
location /ir-valuation { location /ir-valuation {
alias /home/admin/frontend-ir-valuation/dist/; alias /home/admin/frontend-ir-valuation/dist/;
try_files $uri /ir-valuation/index.html; try_files $uri $uri/ /ir-valuation/index.html;
index index.html;
} }
# API endpoints -> route to gateway (host 8100 -> container 8000) # API endpoints -> route to gateway (host 8100 -> container 8000)