Redirect to 127.0.0.1 when access a wordpress hosted with apache and nginx in proxy
snippet in htaccess

Redirect to 127.0.0.1 when access a wordpress hosted with apache and nginx in proxy

user3790

$_SERVER['HTTP_HOST'] = $_SERVER['HTTP_X_FORWARDED_HOST'];