I want to run nextcloud:17-apache image. On the internet my nextcloud instance should be available in www.example.com/mysubdir.
I use apache server as proxy which is forwarding to the mentioned docker container.
I only mange to forward correctly if subfolder in proxy and nextcloud container are identically.
Can you please point out, how to correctly rewriting or proxypassing from subdomain to root in nextcloud container?