docker-compose nginx reverse proxy with multiple containers code example
Example: nginx reverse proxy multiple folders
location ~ ^/app1(.*)$ {
proxy_pass http://proxy.example.com$1;
}
-OR-
location /app1 {
proxy_pass http://proxy.example.com/app1;
}