I found this article series extremely helpful where you want to publish Exchange and also want to publish ADFS servers for Office 365 SSO using free IIS Application Request Routing proxy server.
Happy Reverse proxy
If you are trying to configure Outlook Anywhere to route via ARR sever on IIS 7 then you will not be able to connect and you should get error “outlook unable to connect to the Exchange sever.”
in IIS logs you should find the error code 404.13 (which mean content length is too large)
By Default IIS ‘Maximum allow content length’ is set to 30 MB. We just have to reset it to 2 GB(2147483648 byes).
To configure this select the required website and double click on ‘Request Filtering’
Select ‘Headers’ tab and click on ‘Edit Feature Settings’ then increase the ‘Maximum allow content length’ to 1 GB (1073741824 bytes)