Articles in this section

Resolving HTTP Redirection Issues in Docker Single Container and Linux deployment

Published:

This knowledge base describes the steps to resolve the HTTP redirection issue despite configuring HTTPS in a Docker single container and Linux deployment.

Docker:

  1. Add the following environment variable in the docker-compose.yaml file:
BOLD_SERVICES_REVERSE_PROXY=true 
  1. After adding the environment variable, upgrade the deployment using the commands below:
docker-compose down

docker-compose up -d 

Linux:

Linux deployment with Nginx

Please follow the steps below if you have deployed Bold BI using Nginx.

  1. Go to the location /etc/nginx/sites-available, open the Bold BI®-nginx-config file and make the changes below for all the services (id-web, id-api, id-ums, bi-web, bi-api, bi-jobs, bi-designer, bi-designer-helper, bi-etl, bi-aiservice).
From: proxy_set_header X-Forwarded-Proto $scheme; 

image.png

To: proxy_set_header X-Forwarded-Proto https; 

image.png

  1. Once these changes have been made for all the services, please restart the nginx using the command below:

Please follow the below steps while you have deployed the Bold BI using nginx.

sudo nginx -t

sudo nginx -s reload 

Linux deployment with Apache

Please follow the steps below if you have deployed Bold BI using Apache.

  1. Go to the location /etc/apache2/sites-available, open the boldbi-apache-config.conf file and make the changes below for all the services (id-web, id-api, id-ums, bi-web, bi-api, bi-jobs, bi-designer, bi-designer-helper, bi-etl, bi-aiservice).
From: RequestHeader set "X-Forwarded-Proto" expr=%{REQUEST_SCHEME}

image.png

To: RequestHeader set "X-Forwarded-Proto" "https"

image.png

  1. Once these changes have been made for all the services, please restart the apache using the command below:
sudo apache2ctl configtest

sudo systemctl restart apache2

Additional References

Was this article useful?
Like
Dislike
Help us improve this page
Please provide feedback or comments
SJ
Written by Sarulatha Jagadesan
Updated:
Comments (0)
Access denied
Access denied