0

I'm trying to setup a Wordpress blog with Traefik, Nginx and HTTPS. The idea is: Wordpress is hosted in a HTTP-Based Nginx container. Traefik redirects HTTP content to HTTPS. For doing that, I am using as reference this GitHub repo.

The following links are to files related to this problem:

docker-compose.yml Dockerfile nginx.conf Altered version of index.php of Wordpress

The problem is: when I load example.com/blog, the Wordpress installation initial page is loaded with HTTPS, but their tags point to HTTP resources (scripts and CSS). Why is this occuring and how can I fix that?

Below an example image of what is happening:

enter image description here

I tried to edit some wordpress files to enforce serving files in HTTPS, but it didn't work.

0 Answers0