Edit the following file:
As root user
/etc/httpd/conf/httpd.conf
Add the following line:
NameVirtualHost *:443
Edit the following file:
As root user
/etc/httpd/conf.d/$DOMAIN_NAME.conf
Modify the content to have the following result:
<VirtualHost *:80>
ServerName $DOMAIN_NAME
Header edit Set-Cookie "^(.+)$" "$1; secure"
Redirect permanent / https://$DOMAIN_NAME
</VirtualHost>
<VirtualHost *:443>
ServerName $DOMAIN_NAME
Header edit Set-Cookie "^(.+)$" "$1; secure"
SSLEngine on
SSLCertificateFile /etc/httpd/ssl/cert/$GENERATED_CERTIFICATE.crt
SSLCertificateKeyFile /etc/httpd/ssl/keys/$GENERATED_KEYCERTIFICATE.key
Include /usr/local/afs7/Fluid-Topics/templates/apache2/common.conf
</VirtualHost>
<Location "/">
ProxyPass "$TENANT_URL"
ProxyPassReverse "$TENANT_URL"
SetEnv tenant "$TENANT_ID/$TENANT_STATUS"
SetEnv path_prefix ""
</Location>
ProxyPass and ProxyPassReverse are the full URL of the Fluid Topics tenant.