How do I configure a node of a stand alone synchrony cluster behind apache httpd with SSL

Christopher Lankow December 10, 2018

I have the following synchrony.conf file (template):

LoadModule ssl_module modules/mod_ssl.so

Listen 443

<VirtualHost *:80>
RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule (.*) https://{{ server_fqdn }}%{REQUEST_URI}
ServerName {{ server_fqdn }}
ServerAdmin {{ user_address }}</VirtualHost>

<VirtualHost *:443>
ServerName {{ server_fqdn }}
ServerAdmin {{ user_address }}
ProxyPass / http://localhost:8091/
ProxyPassReverse / https://{{ server_fqdn }}/
ProxyPreserveHost On
RequestHeader set X-Forwarded-Proto "https"

SSLEngine on
SSLProtocol all
SSLCertificateFile {{ ssl_cert_path }}
SSLCertificateKeyFile {{ ssl_key_path }}
</VirtualHost>

This configuration works with my confluence nodes, but not the standalone synchrony nodes.  I get a "Service Temporarily Unavailable" when I hit apache, but going to the port 8091 works correctly.

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events