ssl and Amazon Load Balancer
-
I understand you don’t have a public git repository. I had to do a small patch to fix a bug that was occurring when for our site that is behind a amazon load balance. in the file inc/define.php function w3_is_https added the first case statement below.
function w3_is_https() { switch (true) { case (isset($_SERVER['HTTP_X_FORWARDED_PROTO']) && (int) $_SERVER['HTTP_ X_FORWARDED_PROTO'] == 'https'): case (isset($_SERVER['HTTPS']) && w3_to_boolean($_SERVER['HTTPS'])): case (isset($_SERVER['SERVER_PORT']) && (int) $_SERVER['SERVER_PORT'] == 443): return true; } return false; }
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘ssl and Amazon Load Balancer’ is closed to new replies.