Base SS4 install hosted as Azure app service not serving https

Silverstripe Version: 4.9

Hi all, I have installed the base project using composer composer create-project silverstripe/installer my-project and uploaded it to my app service. I have database and everything all hooked up.

The site runs well when accessed over http, however when I enable https TLS settings in the service, it will not load any script of stylesheets. From the dev log but requested an insecure stylesheet '<URL>'. This request has been blocked; the content must be served over HTTPS.

I have not changed any of the config files from the base install.


How is your hosting configured? (In particular, where does the HTTPS terminate?)
Is the site sitting behind a load balancer / proxy or similar?

You might need to manually set the SS_BASE_URL in your environment to the secure base url