Hello. I bet i'm the 10000th person to ask this but i can't figure a way to solve this problem: I'm
Hello. I bet i'm the 10000th person to ask this but i can't figure a way to solve this problem:
I'm running my local worker with
If I just spin up a local nodejs server to print the request headers, i see that my proxy is forwarding the correct header, but the wrangler itself is changing it back to the routes...
I saw https://github.com/cloudflare/wrangler-legacy/issues/2319 but
If i remove
I'm running my local worker with
wrangler dev --port 8788 --local --ip 0.0.0.0 and a local proxy for proxy *.domain.local to the worker. However, on every request, the Host header is being set to my routes[0].pattern defined in wrangler.toml... How can i fix that??If I just spin up a local nodejs server to print the request headers, i see that my proxy is forwarding the correct header, but the wrangler itself is changing it back to the routes...
I saw https://github.com/cloudflare/wrangler-legacy/issues/2319 but
--local did not solved this issue...If i remove
routes from wrangler.toml, the host header isn't overwritten and work as expected.



