Replies: 1 comment
-
Thanks for posting this. It sounds like a potential bug so I've created an issue for this here #11902 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I expected the return from the Hook to be event.url.host=ui.foo.com, event.url.protocol=https:, but it is returning event.url.host=ui_server/ui, event.url.protocol=http:.
How should I solve this issue?
Given that event.request.headers.get("X-Forwarded-Host") and event.request.headers.get("X-Forwarded-Proto") are returning null, it seems that the node server(adapter-node.) is not recognizing the X-Forwarded-??? headers.
For reference, the API Server developed with spring boot is correctly returning ui.foo.com, https:.
This is Nginx Config
upstream ui_server {
ip_hash;
ui.foo.com:17001;
keepalive 100;
}
Beta Was this translation helpful? Give feedback.
All reactions