question

mij2020-6135 avatar image
0 Votes"
mij2020-6135 asked SaiKishor-MSFT edited

Azure Application Gateway URL complete rewrite

Hi,
Our setup is a backend (internal only) website is in a format http://server1.intranet.lan/home

I’ve been asked to set this up on Azure App gateway so that we can 1. Use company domain in URL and 2. Offload SSL cert to gateway.

So I’d like to have app gateway listen on something like https://myapp1.mycompanyname.co.uk/home and use the mycompanyname.co.uk wildcard SSL cert for offload. I'd create an internal DNS for myapp1 pointing to internal address of gateway.

I have the backend server setup with its IP, and the HTTP setting is over port 80.
Is it possible to listen on one URL and then change it so it points to the correct URL at the backend?

I thought about "Override Backend path" in the HTTP setting – but I wasn’t sure if this would work.

Thanks for any comments

azure-application-gateway
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

SaiKishor-MSFT avatar image
0 Votes"
SaiKishor-MSFT answered SaiKishor-MSFT edited

@mij2020-6135 Yes you should be able to use the Override Backend Path option to achieve this. Please refer to document for more details- https://docs.microsoft.com/en-us/azure/application-gateway/configuration-http-settings#override-back-end-path

Please let us know if you have any further questions and we will be glad to assist you further. Thank you!

Remember:

Please accept an answer if correct. Original posters help the community find answers faster by identifying the correct answer. Here is how.

Want a reminder to come back and check responses? Here is how to subscribe to a notification.


5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.