diff --git a/nginx.conf b/nginx.conf index 77282e65..29c6f990 100644 --- a/nginx.conf +++ b/nginx.conf @@ -9,8 +9,9 @@ server { location / { 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;