Posts in 2019
-
WordPress behind HAProxy on OPNsense
Thursday, December 05, 2019 in Blog
Add this code to the backend pool. Services -> HAProxy -> Settings -> Virtual Service -> Backend Pools -> your backend pool -> Edit -> Advanced Mode -> Option pass-through: #force SSL redirect redirect scheme https if !{ …
-
Wordpress wp-admin behind HAproxy
Thursday, December 05, 2019 in Blog
This code has to be on top of the wp-config.php file right after the <?php tag. If it is somewhere in the file it doesn’t work. /** Make sure WordPress understands it's behind an SSL terminator */ define('FORCE_SSL_ADMIN', true); …