Fixed error with using :trusted_hosts: when using Passenger to serve requests
See this bug report - http://projects.theforeman.org/issues/2259