I found!
It just necessary to use the internal Plane proxy container port 80
instead of the NGINX_PORT
configured through the plane.env
configuration file (for my case 8080).
<subdomain>.<domain> {
respond "Hello world (served by Caddy from docker compose)"
}
plane.<domain> {
reverse_proxy plane-app-proxy-1:80
request_body {
max_size 10MB
}
}