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

Accepted Answer
0 votes

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
Community showcase
Posted Thursday in Confluence

What are your project planning tips?

Hello Community,  Jessica here from the Confluence product marketing team! Today I wanted to get your takes on project planning –– what works, what doesn’t, how do you know if you’re doing it r...

135 views 0 3
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