I use Play behind a Nginx proxy. It’s configured as suggested in the documentation. In my application I need to access the real server URL but I only get the upstream URL
The Nginx setting
proxy_set_header Host $http_host; is used to pass the server address in the
HOST header. But it seems that Play ignores this header because it gets an absolute URL from the proxy.
Does anyone know how I can configure my proxy to pass the server URL to Play?