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 http://my-backend.
I think I’ve found the issue. The documentation says:
These directives are inherited from the previous level if and only if there are no proxy_set_header directives defined on the current level. By default, only two fields are redefined:
And I have an additional proxy_set_header in my location directive. So the settings defined on the higher level will not be included.