Problem setting up Joplin Server / nginx / docker

Thanks again. I tied yesterday evening but I didn't get it to work.

I think we have some different configs in our mind:

I want Joplin Server to run in a subdirectory, not a subdomain. So I want it available in and not in

I think your config for nginx is only possible for a subdomain.

My infrastructure looks like that:

1st server: Nginx, NextCloud and SeaFile are running (fine btw)
2nd server: Picapport is running here, nginx from the first server do the reverse proxy
3rd server: this is for docker and joplin server (the only service at the moment): This should also be proxied by nginx from the first server because he already manages all other services

Or do I have to setup an other nginx server on the docker server for this?

I'm really new with docker...

Greetings and thanks for your help!