Https and Http -- Mixed impact

I'm trying to configure a plone website using https. However, I'm getting a format error once it is using the domain with http.

Mixed Content: The page at '' was loaded over HTTPS, but requested an insecure image ''. This content should also be served over HTTPS

Do you have any idea how to solve the issue?I'm using nginx as web server.

Thank you.

Hi and welcome

The most likely cause will be a hard-linked image in either your content or a template. To see which image is loading over https: in Firefox, press ctrl-i to bring up the Page Info window. Click on the Media icon and scroll down until you see a URL which starts with http. Then find out which content or template is responsible for loading that image.

Thank you for the answer.

yes, the templates and files with problems are:
++plone++production/++unique++2019-11-04T11:56:00.608217/default.css
++theme++barceloneta/less/barceloneta-compiled.css

However, I don't know how to overcome the problem.

I would start by checking the theme for any hardcoded references.

See: https://pypi.org/project/plone.app.theming/#introduction

The two files you list are static resources, see https://pypi.org/project/plone.resource/#files-in-a-central-resource-directory These can be either stored in the ZODB or on your filesystem. Are other static resources served correctly over HTTPS? If so, then it is very likely that you will find a problem in your theme.

Are you following this? https://docs.plone.org/manage/deploying/front-end/nginx.html#minimal-nginx-front-end-configuration-for-plone-on-ubuntu-debian-linux Make sure all Plone content is correctly rewritten.

Plone Foundation Code of Conduct