Hello,
confluence runs via docker behind a nginx proxy server. I can start the confluence server fine but receive the warning message:
scheme sollte 'https' sein
proxyName sollte 'OUR DOMAIN HERE' sein
proxyPort sollte '443' sein
which leads to the server.xml. Currently the Connector is configured (default) as follows:
<Connector port="8090" secure="${catalinaConnectorSecure}" scheme="${catalinaConnectorScheme}" proxyName="${catalinaConnectorProxyName}" proxyPort="${catalinaConnectorProxyPort}" connectionTimeout="20000" redirectPort="8443"
maxThreads="48" minSpareThreads="10"
enableLookups="false" acceptCount="10" debug="0" URIEncoding="UTF-8"
protocol="org.apache.coyote.http11.Http11NioProtocol"/>
If I change the Connector as requested by the warning message to:
<Connector port="8090" secure="${catalinaConnectorSecure}" scheme="https" proxyName="OUR DOMAIN HERE" proxyPort="443" connectionTimeout="20000" redirectPort="8443"
maxThreads="48" minSpareThreads="10"
enableLookups="false" acceptCount="10" debug="0" URIEncoding="UTF-8"
protocol="org.apache.coyote.http11.Http11NioProtocol"/>
, confluence server is not able to start anymore. The last log in /var/atlassian/application-data/confluence/logs/atlassian-confluence.log before the process dies is this:
2019-04-24 14:43:36,577 WARN [lifecycle:thread-8] [hql.internal.ast.HqlSqlWalker] generatePositionalParameter [DEPRECATION] Encountered positional parameter near line 1, column 93 in HQL: [FROM com.atlassian.confluence.impl.schedule.caesium.SchedulerClusteredJob t WHERE t.jobId = ?]. Positional parameter are considered deprecated; use named parameters or JPA-style positional parameters instead.
Please advise.
Thanks and regards
Hi,
did you check:
https://confluence.atlassian.com/doc/running-confluence-behind-nginx-with-ssl-858772080.html
Did you set secure to true?
Best
JP
Hi JP,
it was just that easy. Thanks so much.
Kind regards
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Want to leave your mark on Confluence? One winner will have their whiteboard design added into Confluence for all users to access! This is your chance to showcase your creativity, help others, and gain recognition in the Confluence community.
Share your template today!Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.