Quantcast
Channel: All Forums
Viewing all articles
Browse latest Browse all 27852

Reverse proxy to Exchange 2010. ERROR 502.

$
0
0

I'm trying to setup a reverse proxy on IIS7 to Exchange2010 OWA, I already created a url rewrite rule to my intranet site and it is working fine but my Exchange rule gets an 502 error.

This is the Web.config file in the reverse proxy server:

<?xml version="1.0" encoding="UTF-8"?><configuration><system.webServer><rewrite><rules><rule name="Reverse Proxy to Intranet" stopProcessing="true"><match url="^intranet/(.*)" /><action type="Rewrite" url="http://172.16.2.38/{R:1}" /></rule><rule name="Reverse Proxy to Exchange2010" stopProcessing="true"><match url="^mail/(.*)" /><conditions><add input="{CACHE_URL}" pattern="^(https?)://" /></conditions><action type="Rewrite" url="https://172.16.2.17/owa/{R:1}" /><serverVariables><set name="HTTP_ACCEPT_ENCODING" value="" /></serverVariables></rule></rules></rewrite><defaultDocument><files><add value="inicio.htm" /><add value="default.aspx" /></files></defaultDocument></system.webServer></configuration>


I think it has something to do with ssl certificates, but I don't know, Is there a temporary (testing purposes) workaround for that?


Viewing all articles
Browse latest Browse all 27852

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>