Skip to content

preserve_host #7665

Answered by kikito
wdqzdd asked this question in Help
Aug 6, 2021 · 2 comments
Discussion options

You must be logged in to vote

Hello @wdqzdd,

It seems to me that the preserve_host property is unrelated with your issue. That property is used to adjust the Host when matching via host. Your problem is not the host, but the port.

What is happening is that your webservice is listening to http traffic from a non-default http port (8086). The only way to communicate with a device listening on port 8086 is by sending traffic through that port. So you will always receive requests on port :8086 if that's where your service is listening.

The only way to solve this is by moving your service to the default http ports - 80 for HTTP or 443 for HTTPS traffic.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by mayocream
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
pending author feedback Waiting for the issue author to get back to a maintainer with findings, more details, etc...
2 participants
Converted from issue

This discussion was converted from issue #7663 on August 06, 2021 10:23.