I found it. It was a configuration mistake. The correct hostname was send in the x-forwarded-host header and the host header contains the hostname of my proxy destination. So I forget to tell wordpress to use the value from x-forwarded-host as host and not the one from the host header. This snippet added to wp_config.php did the trick:
if (isset($_SERVER['HTTP_X_FORWARDED_HOST'])) {
$_SERVER['HTTP_HOST'] = $_SERVER['HTTP_X_FORWARDED_HOST'];
}
-
This reply was modified 2 months, 3 weeks ago by kuros61099.