Losing headers through Cloudflare Tunnel
I have I setup where a worker and an auth server are behind the same tunnel.
I can see the auth server returning the headers I expect from its logs, however the response in Next is missing them and has a bunch of CF headers added as well. The auth server has both allow origin / headers set to *
Anyone know what's going on and how I can get my headers to persist through the CF tunnel?
- NextJS frontend (worker) (dev.domain.com)
- Auth server (GCP) (auth.domain.com)
both run on the same domain
I can see the auth server returning the headers I expect from its logs, however the response in Next is missing them and has a bunch of CF headers added as well. The auth server has both allow origin / headers set to *
Anyone know what's going on and how I can get my headers to persist through the CF tunnel?