Self Hosted Redash "TOO MANY REDIRECT ERROR"

We have set up Redash by following the instructions mentioned here.
Everything was working fine till the point we enabled “https” and now whenever we try to open the redash, we get “TOO_MANY_REDIRECTS”.
I have set REDASH_ENFORCE_HTTPS to true and added REDASH_HOST to the hostname with https scheme.

Also, we have apache server running to redirect the requests.

How did you introduce apache? Redash uses nginx?