Forums

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

http: -- https: without adding the port numbers

Robyn Harcott February 25, 2018

I'm trying to set up our server to https:// and it works if you type in the https:  however, if I use sub.server.com with the redirect in place, it works on the server but not outside the server.  It used to before I upgraded and I'm not sure what I'm missing.

It also returns https://sub.server.com:8443 -- how do I get it to redirect and leave off the port #?

2 answers

0 votes
Robyn Harcott February 26, 2018

I was instructed by support to disable collaborative editing.  I have done so while we continue to investigate the new issue.

0 votes
Thomas Deiler
Community Champion
February 25, 2018

Dear @Robyn Harcott,

you have three posibilities:

  1. Install a proxy like apache or nginx in front of Confluence(tomcat), that will terminate the SSL connection (listening on port 443) and readirect the traffic to 8090 [recommended]
  2. Configure the Tomcat of Confluence to listen on port 443 instead 8443. [good]
  3. Install a proxy in front of Confluence listening on 443 forwarding traffic to 8443. SSL termination is done by Confluence(tomcat) [ok]

So long

Thomas

Robyn Harcott February 26, 2018

Thanks @Thomas Deiler -- I have set up according to Number 2 on your list.  however, when I put in http://sub.server.com it forwards to https://sub.server.com:8443 -- how do I get this to change?  I can't find this reference in any of the web/server.xmls . . . 

Robyn Harcott February 26, 2018

Ok - perfect - I found the issue and it's all working now!!

Thomas Deiler
Community Champion
February 27, 2018

Dear @Robyn Harcott,

can you write what you did, so that other readers can learn from this?

Many thanks

Thomas

Robyn Harcott February 27, 2018

Thanks @Thomas Deiler

What I did was change the redirectPort to "443" from "8443"

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

 

However, now I cannot edit or create any pages.  I can view everything but I cannot edit.  I get the error message "

The editor didn't load this time error when trying to edit a page

and confluence tells me it won't connect.  I don't have a proxy.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events