Quantcast
Channel: Nginx Forum - How to...
Viewing all articles
Browse latest Browse all 4759

Re: HAProxy - Nginx - Wordpress

$
0
0
I have more information.

Looking at the source code from the homepage, I have the following error messages:

Mixed Content: The page at 'https://mon.site.fr/wp-admin/install.php' was loaded over HTTPS, but requested an insecure stylesheet 'http://mon.site.fr/wp-includes/css/buttons.min.css?ver=4.9'. This request has been blocked; the content must be served over HTTPS.
install.php:9 Mixed Content: The page at 'https://mon.site.fr/wp-admin/install.php' was loaded over HTTPS, but requested an insecure stylesheet 'http://mon.site.fr/wp-admin/css/install.min.css?ver=4.9'. This request has been blocked; the content must be served over HTTPS.

I tried to add the following lines to the wordpress wp-config.php file, but that did not solve my problem.

if ($ _SERVER ['HTTP_X_FORWARDED_PROTO'] == 'https')

   $ _SERVER [ 'HTTPS'] = 'on';

ideas

Viewing all articles
Browse latest Browse all 4759

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>