Update nginx

This commit is contained in:
aditya.chandel
2025-01-22 17:05:01 -07:00
parent b4b84ec89f
commit 89b1856046
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -19,8 +19,8 @@ http {
try_files $uri $uri/ /index.html; # Fallback to index.html for Angular routing
}
# Proxy API requests that start with /v1/ to the backend
location /v1/ {
# Proxy API requests that start with /api/ to the backend
location /api/ {
proxy_pass http://localhost:8080; # Backend API running on port 8080
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;