Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

HTTPS Offloading for Jira and Confluence on same server

Grant Johnson September 17, 2019

Hi,
We have successfully installed Jira and Confluence on a test server @ http://jiratest.domain.ca:8080 and http://jiratest.domain.ca:8090 respectfully.
We have setup the cookies for session management, and have OAuth working perfectly.

NOW we would like to offload https to a LB at different domains.

We have added a LB rules for 2 new domains.

Each of https://jiratest.domain2.ca and https://confluencetest.domain2.ca can reach it's own  application at :8080 and :8090… but but some problems occur.

BaseURL needs to be changed. YUP ... Easy to do

BUT;  Cannot update the Application links and the message regarding the connector adjustment appears...

scheme should be '<recommended scheme>'
proxyName should be '<recommended proxyName>'
proxyPort should be '<recommended proxyPort>'

The Jira connector in use:

<Connector port="8080" relaxedPathChars="[]|" relaxedQueryChars="[]|{}^&#x5c;&#x60;"<>"
maxThreads="150" minSpareThreads="25" connectionTimeout="20000" enableLookups="false"
maxHttpHeaderSize="8192" protocol="HTTP/1.1" useBodyEncodingForURI="true" redirectPort="8443"
acceptCount="100" disableUploadTimeout="true" bindOnInit="false"/>

The Confluence connector in use:

<Connector port="8090" connectionTimeout="20000" redirectPort="8443"
maxThreads="48" minSpareThreads="10"
enableLookups="false" acceptCount="10" debug="0" URIEncoding="UTF-8"
protocol="org.apache.coyote.http11.Http11NioProtocol"/>

 Do I just add the following to each server.xml connector and restart?

scheme="https" proxyName="jiratest.domain2.ca" OR proxyName="confluencetest.domain2.ca"
proxyPort="443"/>

1 answer

0 votes
jira guy
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
September 17, 2019

yeah that should do it. If you are using proxy, that url needs to be in above block.

Grant Johnson September 20, 2019

Do I need the redirectPort="8443"?...
I am trying to get rid of certs on the server?...

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events