Seafile server (pro) behind a Plesk/Apache server

Good morning,

I can’t get the following configuration/installation to work:

Server A (Plesk/Apache) should forward requests to the Seafile server (Server B). For this I have set the following configuration under Plesk:

RewriteEngine On

# seafile fileserver
ProxyPass /seafhttp http://xx.xx.xx.xx:9101
ProxyPassReverse /seafhttp http://xx.xx.xx.xx:9101
RewriteRule ^/seafhttp - [QSA,L]

# seahub
SetEnvIf Authorization "(.*)" HTTP_AUTHORIZATION=$1
ProxyPreserveHost On
ProxyPass / http://xx.xx.xx.xx:9101/
ProxyPassReverse / http://xx.xx.xx.xx:9101/

# media
ProxyPass /media http://xx.xx.xx.xx
ProxyPassReverse /media http://xx.xx.xx.xx

Seafile (on server B) is running in a Docker container and the function is given when I address the Seafile server directly.

I would be super grateful if someone could give me a hint what I am doing wrong.

Thanks a lot

The proxy pass for the webinterface at / and the file server at /seafhttp is port 9101. This cannot be right.