Quantcast
Channel: Topic Tag: loadbalancer | WordPress.org
Viewing all articles
Browse latest Browse all 17

Marc Lucraft on "[Plugin: Really Simple SSL] Because your site is behind a loadbalancer..."

$
0
0

Great plugin, perfect for my needs!

How do I remove the warning:

Because your site is behind a loadbalancer and is_ssl() returns false, you should add the following line of code to your wp-config.php. Your wp-config.php could not be written automatically.

if (isset($_SERVER["HTTP_X_FORWARDED_PROTO"] ) && "https" == $_SERVER["HTTP_X_FORWARDED_PROTO"] ) {
$_SERVER["HTTPS"] = "on";
}

I've already added this to my wp-config and the site is functioning fine.

https://wordpress.org/plugins/really-simple-ssl/


Viewing all articles
Browse latest Browse all 17

Trending Articles