增加模型部署转发配置
This commit is contained in:
parent
e32035711d
commit
9e1b8a7535
|
@ -30,6 +30,12 @@ http {
|
|||
add_header X-Frame-Options "ALLOW-FROM http://label-studio-ls-app.label-data.svc:80/";
|
||||
}
|
||||
|
||||
location /api/v1/model/ {
|
||||
proxy_pass http://pipeline-convert-service.argo.svc:80;
|
||||
proxy_set_header REMOTE-HOST $remote_addr;
|
||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||
}
|
||||
|
||||
location / {
|
||||
rewrite ^/prod-api/(.*)$ /$1 break;
|
||||
root /home/ruoyi/projects/ruoyi-ui;
|
||||
|
|
Loading…
Reference in New Issue