IIS 8.5 ARR 3.0 Synchrony Websockets Reverse Proxy Action type Route to Server Farm

Dear Community,

Attempting to implement Confluence 6.5 with Collaborative Editing feature.
Confluence is running on a VM behind a Reverse Proxy with IIS8.5/ARR3.0 which is on a separate VM. Because its not co-hosted we use web-farms. We host many other things, not just atlassian. In this case the used server-farm definition contains a single server only, that runs confluence.

Upon executing step by step the document: 
Proxying Atlassian server applications with Microsoft Internet Information Services (IIS)
https://confluence.atlassian.com/kb/proxying-atlassian-server-applications-with-microsoft-internet-information-services-iis-833931378.html

When creating the necessary URL rewrite rules, under Confluence 6.0 specific notes, i do not know how to implement rule = "Synchrony Web Sockets Reverse Proxy"

Normally i would use HTTP or HTTPS from the actions dropdown list, for example:
<action type="Rewrite" url="http://<server-farm>/{R:1}" />

where the custom port is set in the farm definition.

how ever the guide tells to use: 
<action type="Rewrite" url="ws://localhost:8091/{R:1}"

How can the web-sockets ws:// be routed to the designated server-farm?

1 answer

1 accepted

Created a Farm as below:
<webFarm name="ConfluenceTest_Synchrony" enabled="true">
 <server address="10.0.0.1" enabled="true">
 <applicationRequestRouting httpPort="8091" />
</server>
</webFarm>

Configured it to use passthrough. Then the WebsSocket Rule:

<rule name="Confluence Synchrony Web Sockets Reverse Proxy" enabled="true" stopProcessing="true">
  <match url="ws://(.*)" />
  <conditions logicalGrouping="MatchAll" trackAllCaptures="false">
  </conditions>
  <action type="Rewrite" url="http://ConfluenceTest_Synchrony/{R:1}" />
 </rule>

So ws:// can go to http://

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Kesha Thillainayagam
Posted Apr 13, 2018 in Confluence

We want to hear how your non-technical teams are using Confluence!

Hi Community! Kesha (kay-sha) from the Confluence marketing team here! Can you share stories with us on how your non-technical (think Marketing, Sales, HR, legal, etc.) teams are using Confluen...

2,351 views 25 10
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you