Proxypath / to container:port/opac/

Hi, I want to setup a PMB instance.
The website/Docker Container is built as :
_ /var/www/html/ -> Default page of Apache (I do not want it to be accessible).
_ /var/www/html/pmb/ -> for the admin.
_ /var/www/html/pmb/opac/ -> for the public, everybody.

So What I want to achieve is:
www.mysite.com -> /var/www/html/pmb/opac/
www.mysite.com/admin -> /var/www/html/pmb/

I do not want to modify the container because I just want to pull it as it is.

What would be the midleware setting to forbid the access to /var/www/html/ and to access my app as I wish?

Thanks.
Pierre

First you need to check if you can set a different base path for each of the services.

You can use middleware to change the initial request, but the response usually contains links with fixed paths for web GUI apps.

Alternatively you could just place a redirect on the / to send clients to /pmb/opac/.