I’m trying to solve a problem that I believe would be relatively straight forward if I was hosting my own reverse proxy, so hopefully there is a simple solution.
I’m running a Phoenix app in basically the standard / out-of-the-box way with the Dockerfile and toml provided by Fly.
My goal is to have a subpath (/blog) map over to a completely different (Wordpress hosted) website, in such a way that the user appears to be interacting with a single domain.
I believe the best solution would be some sort of proxy/rewrite at the Fly level. I’m also not above creating something in Phoenix itself for reverse proxying as I don’t believe this will be high traffic.
Gotcha. Honestly - I saw this but the term “replay” was throwing me off. I understand what you mean after reading more.
Am I correct in understanding that you can only replay requests over to another Fly instance though? My use case is to send traffic over to a separately hosted blog.