Too many redirects with reverse proxy
Like @Damocles stated, there has to be
$_SERVER['HTTPS'] = 'on';
in wp-config.php
. The standard configuration
if (isset($_SERVER['HTTP_X_FORWARDED_PROTO']) && $_SERVER['HTTP_X_FORWARDED_PROTO'] === 'https') { $_SERVER['HTTPS'] = 'on'; }
seems to be not enough.