I need help with using a reverse proxy from IIS to Confluence

Bill Greer September 27, 2018

I have the latest version of Confluence installed locally.  I have a wild-card SSL certificate in IIS for my domain.  I set up ARR in IIS and URL Rewrite.  The Confluence site is working for viewing but is not working for editing.  I think there is an issue with wss and/or cross site scripting security.  I disabled the cross site scripting security option in Confluence and I added a URL Rewrite that I thought would fix the issue.  

Here are my rewrite rules in IIS

<rewrite>
<rules>
<clear />
<rule name="Confluence Synchrony Web Sockets Reverse Proxy" enabled="true" stopProcessing="true">
<match url="wss://(.*)" />
<conditions logicalGrouping="MatchAll" trackAllCaptures="false">
</conditions>
<action type="Rewrite" url="ws://localhost:8090/{R:0}" />
</rule>
<rule name="Force Https" patternSyntax="Wildcard" stopProcessing="true">
<match url="*" />
<conditions logicalGrouping="MatchAll" trackAllCaptures="false">
<add input="{HTTPS}" pattern="off" />
</conditions>
<action type="Redirect" url="https://{HTTP_HOST}/{R:0}" />
</rule>
<rule name="Reroute to Apache" stopProcessing="true">
<match url=".*" />
<conditions logicalGrouping="MatchAll" trackAllCaptures="false" />
<action type="Rewrite" url="http://localhost:8090/{R:0}" />
</rule>

</rules>
</rewrite>

Any suggestions?

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events