Skip to content
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

Support for pickHostnameFromBackendAddress setting on Application Gateway #1875

Closed
ndarilek opened this issue Sep 5, 2018 · 4 comments
Closed

Comments

@ndarilek
Copy link

ndarilek commented Sep 5, 2018

I've been trying to set up an application gateway that proxies to two backend apps by FQDN. Unfortunately, with a configuration as generated by Terraform, this setup doesn't seem to work. Requests hit an application gateway with a Host: header like staging.example.com. Then they're proxied to a backend app on azurewebsites.net which expects a hostname like app-staging.azurewebsites.net, only the header still contains the original FQDN, so the app returns a 404 even though it is up. I can reach the backend by hitting the gateway IP with Curl and manually setting the host header to match the FQDN of the backend, but I don't have control over the headers after they traverse the gateway.

Dialogues with Azure support and Google searches led me to this and this which hopefully shed a little more light on the issue. I'm fairly new to Azure, so hopefully the above gives enough of an indication of what I hope can be supported, but I'm happy to answer any additional questions if I can.

Thanks!

@mdsills
Copy link
Contributor

mdsills commented Jan 18, 2019

hopefully PR #2658 addresses this issue

@agrcrobles
Copy link

that's great! when are you creating a new stable release? is it even possible to consume the provider from master branch?

@tombuildsstuff tombuildsstuff added this to the 1.22.0 milestone Jan 22, 2019
@tombuildsstuff
Copy link
Contributor

Closing since this has been fixed via #2658

@agrcrobles it's possible to build this provider locally (there's instructions for how to do that in the README) - otherwise I expect we'll be doing a release this week :)

Thanks!

@ghost
Copy link

ghost commented Mar 5, 2019

I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.

If you feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. If you feel I made an error 🤖 🙉 , please reach out to my human friends 👉 [email protected]. Thanks!

@ghost ghost locked and limited conversation to collaborators Mar 5, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

5 participants