You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Proxy CKAN through the container nginx (only if T3 says CORS is broken) #74
If CKAN rejects cross-origin browser calls, route them same-origin through the container's own nginx rather than asking TACC to add CORS headers. The decision to proxy rather than ask is already made — it keeps someone else's config change off the critical path, and it works on every origin including Vercel previews.
Add a location block to ui-react/docker/nginx.conf proxying the CKAN Action API, and point DATA_CATALOG_API at that path via window.__MINT_CONFIG__.
Keep DATA_CATALOG_BROWSE_URL pointed at the real host — it is the human-browsable iframe URL, a different thing from the Action API base, and conflating them is exactly the bug PR #63 fixed. See issue #59.
Note the proxy only helps the deployed container. Vercel previews and npm run dev do not go through that nginx, so say plainly in the resolution which environments are covered.
ckan.tacc.utexas.edu allowlists *.tacc.utexas.edu, localhost and 127.0.0.1 for Access-Control-Allow-Origin. The deployed container serves https://mint.tacc.utexas.edu,
which is on that list — so this proxy would fix a problem that does not exist in the one
environment it can reach. The environment that is blocked (Vercel previews) does not pass
through the container nginx at all, so this ticket could never have helped there.
No change to ui-react/docker/nginx.conf. DATA_CATALOG_API stays pointed at the real host
in #75.
Activity
mosoriob commentedon Aug 8, 2026
Closed unopened, per the verdict on #71.
ckan.tacc.utexas.eduallowlists*.tacc.utexas.edu,localhostand127.0.0.1forAccess-Control-Allow-Origin. The deployed container serveshttps://mint.tacc.utexas.edu,which is on that list — so this proxy would fix a problem that does not exist in the one
environment it can reach. The environment that is blocked (Vercel previews) does not pass
through the container nginx at all, so this ticket could never have helped there.
No change to
ui-react/docker/nginx.conf.DATA_CATALOG_APIstays pointed at the real hostin #75.