Whenever a redirect happens, like from the /apps/ to the /apps/files/ path, NextCloud now redirects using the server provided hostname and port instead of the one requested by the client.
For instance, if running via Docker on localhost:8000 and using a proxy pass with cloud.example.com, the address cloud.example.com/apps/ will redirect to localhost:8000/apps/files/.
This happens with the / to /login redirect as well, so this bug completely prevents access to the instance from the web interface, unless you manually correct the URL afterwards.
Also discussed here: https://help.nextcloud.com/t/nextcloud-15-redirect-to-local-ip/45352
Whenever a redirect happens, like from the
/apps/to the/apps/files/path, NextCloud now redirects using the server provided hostname and port instead of the one requested by the client.For instance, if running via Docker on
localhost:8000and using a proxy pass withcloud.example.com, the addresscloud.example.com/apps/will redirect tolocalhost:8000/apps/files/.This happens with the
/to/loginredirect as well, so this bug completely prevents access to the instance from the web interface, unless you manually correct the URL afterwards.Also discussed here: https://help.nextcloud.com/t/nextcloud-15-redirect-to-local-ip/45352