This commit is contained in:
hhhhsc701
2025-12-11 23:17:01 +08:00
committed by GitHub
parent ec87e4f204
commit fc9fb07e77
4 changed files with 54 additions and 11 deletions

View File

@@ -23,6 +23,13 @@ server {
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/ {
proxy_pass http://datamate-backend:8080/api/;
proxy_set_header Host $host;