Comments on: Using Azure Web Site as a reverse proxy https://ruslany.net/2014/05/using-azure-web-site-as-a-reverse-proxy/ Azure App Service Features and Best Practices Tue, 26 Jul 2022 14:32:57 +0000 hourly 1 https://wordpress.org/?v=6.2.16 By: Karthik https://ruslany.net/2014/05/using-azure-web-site-as-a-reverse-proxy/#comment-36434 Tue, 26 Jul 2022 14:32:57 +0000 http://ruslany.net/?p=48081#comment-36434 In reply to Bill Harts.

Hi Bill,
Same issue we also facing in azure app.

Any idea how to resolve that?

This below we done,
1.Added redirect rules in web.config
2.Added proxy key transform in azure and checked transformed successful.

]]>
By: Johan B https://ruslany.net/2014/05/using-azure-web-site-as-a-reverse-proxy/#comment-25352 Wed, 18 Aug 2021 09:46:10 +0000 http://ruslany.net/?p=48081#comment-25352 I got it working with a change to applicationHost.xdt:

I guess these days Azure Web Apps include a proxy by default tag, so SetAttributes can be used to reconfigure it.

]]>
By: Olha https://ruslany.net/2014/05/using-azure-web-site-as-a-reverse-proxy/#comment-18496 Tue, 08 Dec 2020 16:38:10 +0000 http://ruslany.net/?p=48081#comment-18496 God bless you for this article! This was so helpful, especially for the Update part.

]]>
By: Dovic https://ruslany.net/2014/05/using-azure-web-site-as-a-reverse-proxy/#comment-16784 Fri, 16 Oct 2020 15:35:21 +0000 http://ruslany.net/?p=48081#comment-16784 I used the exact same web.config (with the correct case) and the ApplicationHost.xdt file but I always have 404.4 errors. I also took the xsd file in the link provided by SC (https://github.com/zhiliangxu/reverse_proxy/blob/master/applicationHost.xdt) but always the same error…

I tried with .Net Core and ASP.Net stacks, but this does not help. The reverse proxy is still not working in my web.app…

]]>
By: Kamal https://ruslany.net/2014/05/using-azure-web-site-as-a-reverse-proxy/#comment-16621 Thu, 08 Oct 2020 03:56:04 +0000 http://ruslany.net/?p=48081#comment-16621 I tried so many stuffs but not working for react web app which returns 404. if anyone managed to get it work for react app, please assist

Web.config

Application.xdt
!–?xml version=”1.0″?–>

root@c838d043d443:/home/site

]]>
By: SC https://ruslany.net/2014/05/using-azure-web-site-as-a-reverse-proxy/#comment-12633 Tue, 26 May 2020 20:02:35 +0000 http://ruslany.net/?p=48081#comment-12633 Great Article .. In building my Reverse Proxy in Azure I found that it required this updated ApplicationHost.xdt in order to work. https://github.com/zhiliangxu/reverse_proxy/blob/master/applicationHost.xdt

]]>
By: Frank Fu https://ruslany.net/2014/05/using-azure-web-site-as-a-reverse-proxy/#comment-12587 Sun, 24 May 2020 17:02:24 +0000 http://ruslany.net/?p=48081#comment-12587 Thank you Gregory! The case-sensitivity got me!

]]>
By: Gregory Suvalian https://ruslany.net/2014/05/using-azure-web-site-as-a-reverse-proxy/#comment-10699 Sat, 22 Feb 2020 23:01:08 +0000 http://ruslany.net/?p=48081#comment-10699 FYI, web.config is case sensitive and posted web.config will result in HTTP 500 due to case sensitivity of words `webServer` and `stopProcessing`. So if you get HTTP 500, make sure you correct casing.

]]>
By: Benigna Berardi https://ruslany.net/2014/05/using-azure-web-site-as-a-reverse-proxy/#comment-10382 Tue, 11 Feb 2020 21:16:15 +0000 http://ruslany.net/?p=48081#comment-10382 It talks about using a Site extension. It implements the reverse proxy and it does the XDT transformation for you. If the above is setup correctly, then there is something wrong with the URL Rewrite rules. I would recommend you to enable Failed Request Tracing and debug this further.

]]>
By: Sreekanth https://ruslany.net/2014/05/using-azure-web-site-as-a-reverse-proxy/#comment-6521 Tue, 15 Oct 2019 09:53:16 +0000 http://ruslany.net/?p=48081#comment-6521 Sorry i missed the web.config.
My web.config is

]]>