User Tools

Site Tools


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

This is an old revision of the document!


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.1581340188.txt.gz · Last modified: 2020/02/10 13:09 by admin