Force country

I need to make a fetch request to external API that accepts only Netherlands ips. How do I run a worker only in AMS datacenter and not the user’s closest datacenter, so I could make a fetch request? I heard of resolveOverride hack but I dont get it how to set it up??? Please help
2 Replies
putty
putty2mo ago
If the fetch is done from the worker and not the client then you could try setting the Workers placement setting to "Smart". However there's no promises it would place the workers in the Netherlands. I'm not very knowledgeable when it comes to how placement settings work however you can read about it here. You may just be better off making requests to a small VPS or something in that region that can proxy the requests onward.
Hello, I’m Allie!
You may be able to get it to work with CF Aegis. Just running in Dutch datacenters wouldn’t work, afaik, since all CF datacenters share egress IPs
Want results from more Discord servers?
Add your server