Just got done with many hours of fighting wordpress and its “Sorry, you are not allowed to access this page” generic output after doing some HTTPS update settings. Turns out I had the drupal expected setting in haproxy and not the wordpress one. Ensure you are passing the following is using haproxy
backend backend-default http-request add-header HTTP_X_FORWARDED_PROTO https