Docker nextcloud apche image in subdirectory?

Hi,

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?

Thanks, Butch

Well all in all it is not sooo easy, but should work. I did it with nginx. I guess we can only help if you post your config.php and the apache lines.