ssl – ERR_CONNECTION_REFUSED – WordPress Development Stack Exchange

Question

After forcing SSL manually using the following code in wp-config.php file :

define('FORCE_SSL_ADMIN', true);
// in some setups HTTP_X_FORWARDED_PROTO might contain 
// a comma-separated list e.g. http,https
// so check for https existence
if (strpos($_SERVER['HTTP_X_FORWARDED_PROTO'], 'https') !== false)
       $_SERVER['HTTPS']='on';

the website worked just fine, and for couple days i no longer can access my website and the ” ERR_CONNECTION_REFUSED ” error

Any thoughts guys or suggestions please ?

0
kero 1 month 2021-10-26T05:58:39-05:00 0 Answers 0 views 0

Leave an answer

Browse
Browse