Website does not forward to https

Hi Bhanu.

  1. https is set for my domain (as you already noticed from the provided links to my website)
  2. Redirection is set from www to non-www as you already noticed from the code that I provided
  3. The discourse hostname in yml file is correct as you noticed that my website is up and running.

DISCOURSE_HOSTNAME: wolcengame.net

I have another website with the same configuration as my discourse.conf, and there is no similar issue like this one there.

My question is, is there something from discourse that is interfering with the nginx redirection? I tried everything yesterday and I run out of idea to solve this issue.

This is my second website www.koktailmolotov.com . As you see if you click on the website, it redirects automatically to the format https://koktailmolotov.com. The conf settings are the same as for my discourse website.