I have several apps with multiple containers running, organized in some docker-compose files, running on different ports. Actually access them like example.com:port.
Example:
- app1 with 2 services exposing port 1111 I access trough example.com:1111
- app2 with 2 services exposing port 3333 I access trough example.com:3333
Now I want to access them with example.com/app1, example.com/app2 instead. I thought to realize this with another container running nginx. But I don't get how to write the nginx configuration to achieve this.