feat(config): add proxy configuration for evaluation API endpoint (#141)

This commit is contained in:
Dallas98
2025-12-09 15:01:44 +08:00
committed by GitHub
parent 758cf93e36
commit bef15f328d

View File

@@ -98,6 +98,13 @@ data:
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
}
location /api/evaluation/ {
proxy_pass http://datamate-backend-python:18000/api/evaluation/;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
}
location /api/annotation/ {
proxy_pass http://datamate-backend-python:18000/api/annotation/;
proxy_set_header Host $host;