Using an edge router to update http headers for CORS

Checking if this is possible or not.

I have this working with a reverse proxy golang server but thought… hey… if it can be done with an edge router… it will be a simpler solution.

Keen for your feedback.

No. Edge routers cannot modify the payloads sent through them at all. If the client is sending https traffic the router would need to terminate the TLS for this to work. That’s unlikely to be anything an edge router will do.

You could offload from a router in your private dc to nginx or Apache or any other server which does this sort of functionality and keep that appliance away from the Internet using ziti, if that makes sense?

1 Like

Brilliant… this validates the exact purpose for the golang server I have developed…

Awesome…