playframework/Play20 — comment on commit c69f6a6477ada907ff937ee028a8279e9b3fb87d
File: framework/src/play/src/main/scala/play/api/mvc/Http.scala line 17
By benmccann:

I was testing for reverse proxy and it seems this should be left as is and the reverse proxy should be configured to set the hostname. I did this in nginx with:
proxy_set_header Host $http_host;