Proxy patient routes without the cohort access token

This commit is contained in:
Angel Capetillo Zavala
2026-11-13 18:19:26 -06:00
parent edb868f372
commit caf5f954b7
2 changed files with 1 additions and 5 deletions
-3
View File
@@ -14,9 +14,6 @@ server {
location ~ ^/(api|imports|data|cacu|cama|tea|governance|reportes|health)(/|$) {
proxy_pass http://webapi:5000;
# The synthetic cohort token is supplied by the container environment,
# never by the browser. Override any client-supplied header.
proxy_set_header X-Cama-Cohort-Token "${CAMA_COHORT_ACCESS_TOKEN}";
proxy_set_header Host $host;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;