增加模型部署转发配置

This commit is contained in:
somunslotus 2024-06-13 10:10:06 +08:00
parent e32035711d
commit 9e1b8a7535
1 changed files with 6 additions and 0 deletions

View File

@ -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;