feat: backend proxy
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user