This works. But there is a differnce in the Host header. Previously, I received my.app as the Host, now it is something like 172.19.137.34.
I need to know the original Host. An additional http_service hosted on the same machine receives the correct Host header without problems. I also echoed back the HTTP headers to debug this issue and there is no additional information that could help me discern the original Host.
Could you share your app’s name, please? If you don’t want to share it publicly, feel free to drop me an email to pavel fly.io.
I’ve just rolled out a fix for this. It’s behind a feature flag which I’m gonna gradually enable for all apps in the coming days. I can switch it on for your app first, if you want.