Closed d0UBleW closed 4 months ago
can you push it to the dev branch? besides that it looks good 👀
Based on past PRs, I assume I just create another PR directly targeting dev
?
This is my first PR, so not quite sure 😅
haha yes please change the target branch to be dev
. a great first pr btw :P
Added Listener HTTP
HostHeader
field to be configurable via profile.Configuring
Host
header viaHeaders
field does not work as expected as thegin
package parses theHost
header toContext.Request.Host
instead ofContext.Request.Header
. The fix is to use existingHTTPConfig.HostHeader
field from the listener configuration and compare it toContext.Request.Host
.As for setup using redirector, the HTTP request
Host
header field could be retrieved fromX-Forwarded-Host
since it is mentioned to be de-facto standard on mdn web docs