New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Frontend passHostHeader config does not work with Backend https url config #2836
Comments
Thanks for your interest in Traefik ! Every question asked in issues means less features 😉. The issue tracker is for reporting bugs and feature requests only.
|
Guys its NOT a question. It`s a BUG. Backend https not working with Frontend passHostHeader. repoen it |
@pluque Could you give more information? (logs, TOML, ...) |
As I said early, when using https in backend url's configuration, host header doesn't seems to be forward IIS logs(shrinked)The first row, is when Traefik is configure with a backend url http://
config TOML
file TOML
|
Hi @pluque I don't know where IIS take the host value for the logs, but in your application, you need to use the Host header.
|
I'll test it with a custom .net application... Actually, we are using a .NET thrid party software which validates it's license based on that host header. As the host doesn't seems to be forward, the third party software replies with a http 503. i'll keep you posted |
This comment has been minimized.
This comment has been minimized.
If i enable https for the backend, traefik will check the certificate for the ip and not the hostname. The ip is not included, so it will fail with a 500. Looks like this is related to #4481 |
Do you want to request a feature or report a bug?
Bug
What did you do?
I have a basic Frontend-Backend config.
My Frontend configuration uses passHostHeader=true configuration.
In the following IIS log from my container
As you can see with the cs-host logged info in bold, the host is passed when Backend is configured in http but not when it`s configured in https
What did you expect to see?
Frontend passHostHeader option work with Backend https url configuration.
What did you see instead?
Output of
traefik version
: (What version of Traefik are you using?)What is your environment & configuration (arguments, toml, provider, platform, ...)?
# (paste your configuration here)
If applicable, please paste the log output in debug mode (
--debug
switch)The text was updated successfully, but these errors were encountered: