Fixes #2259 - trusted hosts work with passenger