HTTPS with Elastic Load Balancer (SSL Offload) - Fluid Topics - 3.9 - Reference Guides

Fluid Topics Integration Guide

Product
Fluid Topics
FT_Version
3.9
Platform
RHEL
Category
Reference Guides
language
English
audience
public

If there is an Elastic Load Balancer and the SSL must be enforced (i.e. redirecting HTTP to HTTPS via ELB):

Modify the content of the configuration file to obtain the following lines:

<VirtualHost *:80>
ServerName $ELB_URL

## redirect http to https via ELB
RewriteEngine on
RewriteCond %{HTTP:X-Forwarded-Proto} !https
RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]

CustomLog /var/log/httpd/$ELB_URL.acces.log combined
ErrorLog /var/log/httpd/$ELB_URL.error.log

</VirtualHost>

where

  • $ELB_URL is the URL provided by the ELB.

For more information about HTTPS while using Elastic Load Balancer, see the official documentation.