Forum Discussion

rks's avatar
rks
Resolver II
6 years ago
Solved

Reporting Server - Manifest.json error with reverse proxy

Hi Community,   I have a somewhat exciting setup: * Server 1: The PBI Reporting Service is installed on a machine behind a firewall * Server 2: There's a Load Balancer receiving requests from out...
  • rks's avatar
    6 years ago

    I solved the issue:

     

    * Add an application in Default Website

    * Add the following mod-rewrite rules to the config that resides inside the location path:

     

    <?xml version="1.0" encoding="UTF-8"?>
    <configuration>
        <system.webServer>
            <rewrite>
                <rules>
                    <clear />
                    <rule name="ReverseProxyInboundRule1" enabled="true" stopProcessing="true">
                        <match url="(.*)" />
                        <conditions logicalGrouping="MatchAll" trackAllCaptures="false" />
                        <action type="Rewrite" url="http://localhost/Reports/{R:1}" appendQueryString="true" />
                    </rule>
                    <rule name="ReverseProxyInboundRule2" stopProcessing="true">
                        <match url="(.*)" />
                        <conditions logicalGrouping="MatchAll" trackAllCaptures="false">
                            <add input="{CACHE_URL}" pattern="^(https?)://" />
                        </conditions>
                        <action type="Rewrite" url="{C:1}://localhost/Reports/{R:1}" />
                    </rule>
                </rules>
            </rewrite>
        </system.webServer>
    </configuration>