Apache HTTPS tenant configuration - Fluid Topics - 3.7

Fluid Topics Integration Guide

Operating system
RHEL
Category
Reference Guides
Audience
public
Version
3.7

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

ProxyPass / $TENANT_URL
ProxyPassReverse / $TENANT_URL
</VirtualHost>

ProxyPass and ProxyPassReverse are the full URL of the Fluid Topics tenant.