I had to set a few settings manually due to wordpress throwing a fit with Mixed content errors. The data would render for the webpage, but the css/js wouldn’t load. Here’s the fix:
Configure the certificate for HAProxy. If you are unfamiliar with the configuration, see the last post.
HA Proxy Advanced Pass Thru on the Frontend
http-response set-header Content-Security-Policy upgrade-insecure-requests
define( 'WP_HOME', 'https://websitenamehere.com/' ); define( 'WP_SITEURL', 'https://websitenamehere.com/' ); define('FORCE_SSL_ADMIN', true); $_SERVER['HTTPS']='on';