User Tools

Site Tools


docu:csheet:sysadm:web:apps:wordpress:ssl_termination

How to configure WordPress behind SSL Reverse Proxy


Add this snippet lines on your wp-config.php file

wp-config.php
define('FORCE_SSL_ADMIN', true);
define('FORCE_SSL_LOGIN', true);
if ($_SERVER['HTTP_X_FORWARDED_PROTO'] == 'https')
$_SERVER['HTTPS']='on';
docu/csheet/sysadm/web/apps/wordpress/ssl_termination.txt · Last modified: 2020/02/10 13:10 by admin