feat: backend proxy

This commit is contained in:
Karishma Shukla
2025-04-26 15:58:00 +05:30
committed by GitHub
parent 84bad0c89d
commit 6b86d35149

View File

@@ -10,7 +10,8 @@ server {
try_files $uri $uri/ /index.html;
}
location /api {
# Proxy for backend
location ^/(auth|storage|record|workflow|robot|proxy|api-docs)(/|$) {
proxy_pass http://localhost:8080;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;