HTTPS and Theme

Hello,

I have https working for both the studio and lms sites on juniper. However, I have noticed that I am getting content being served as http:// for example the organization logo.

The generated code is:

<div class="wrapper-logo">
     <p>
       <a href="/">
         <img alt="organization logo" src="http://online.server.org/static/new-theme/images/logo.90b48884ee5a.png">
       </a>
     </p>
</div>

Where in the template the footer.html includes the following

   <div class="wrapper-logo">
     <p>
       <a href="/">
         ## The default logo is a placeholder.
         ## You can either replace this link entirely or update
         ## the FOOTER_ORGANIZATION_IMAGE in Django settings.
         ## If you customize FOOTER_ORGANIZATION_IMAGE, then the image
         ## can be included in the footer on other sites
         ## (e.g. a blog or marketing front-end) to provide a consistent
         ## user experience.  See the branding app for details.
         <img alt="organization logo" src="${footer['logo_image']}">
       </a>
     </p>
   </div>

So not sure if there is a configuration flag I can set in lms.env.json/lms.yml files to say this site is HTTPS so when ${footer[‘logo_image’]} is compiled it is run with http instead of https.

Thank you!

Just putting these here. I had to enable the following:

I set these values and it works now with any mixed content errors.

NGINX_REDIRECT_TO_HTTPS: True
NGINX_HTTPS_REDIRECT_STRATEGY: "scheme"
NGINX_SET_X_FORWARDED_HEADERS: True

Once I did this, the urls were generated with https.

Tom