External website https problem

Nextcloud version : 17.0.2
Operating system and version : Debian 9
Apache or nginx version : Nginx
PHP version : 7.2

Hey !
I’m facing an issue with the External Website app. My nextcloud instance is in https, and I added my website main page to the app. But, even when putting the url in https, I get this error on the browser console.

Mixed Content: The page at 'https://cloud.sti2d.best/apps/external/4' was loaded over HTTPS, but requested an insecure resource 'http://sti2d.best/sonnerie/'. This request has been blocked; the content must be served over HTTPS.

I’m stuck checking the box about integration to redirect my users to the correct page.

How can I fix that ? All of my websites are on https, so I don’t understand why it doesn’t work.

Is this the first time you’ve seen this error? : Yes

Steps to replicate it:

  1. Add a website in https to the external website app
  2. Do not check the box about integration
  3. Click on the button and open the browser console

Hi !
Managed to fix the problem by adding a trailling slash at the end of the url. (thanks to https://stackoverflow.com/questions/48138364/https-iframe-inside-a-https-page-not-working)