Can't force HTTPS with EBS setup

I’ve just set up Metabase on EBS, following the quick launch URL. I’m running version v0.33.6, and using these instructions: https://www.metabase.com/docs/v0.33.6/operations-guide/running-metabase-on-elastic-beanstalk.html#running-metabase-on-aws-elastic-beanstalk. I’ve set up a CNAME so i can access metabase from metabase.mycompany

I’ve even added HTTPS via port 443, and it works fine. I followed the instructions and added an environment variable for NGINX_FORCE_SSL = 1, but when I go to metabase.mycompany I’m taken to the http version.

What should I do?

Hi @bpisavadi
There’s work being done to have a configuration option to force SSL:
https://github.com/metabase/metabase/issues/4871 - upvote by clicking :+1: on the first post
But looking at the code, setting environment variable NGINX_FORCE_SSL to 1 should automatically take care of the redirect:
https://github.com/metabase/metabase/blob/master/bin/aws-eb-docker/.ebextensions/metabase_config/metabase-setup.sh#L37