Handling Multiple Subdomains Through Caddy in a Snap Install

This is my Caddyfile

basically
https ://xxx-server2.duckdns.org redirects to http ://192.168.1.12;8123
https ://xxx-server1.duckdns.org redirects to http ://192.168.1.7;8065

xxx-server2.duckdns.org {
    tls {
	    dns duckdns
	}
	log data/requests.log {
	rotate_size 50  # Rotate after 50 MB
	rotate_age  90  # Keep rotated files for 90 days
	rotate_keep 20  # Keep at most 20 log files
	rotate_compress # Compress rotated log files in gzip format
    }
    header / {
    Strict-Transport-Security "max-age=31536000; includeSubdomains"
    X-XSS-Protection "1; mode=block"
    X-Content-Type-Options "nosniff"
    X-Frame-Options "SAMEORIGIN"
    Referrer-Policy "same-origin"
    -Server
}
    proxy / 192.168.1.12:8123 {
        websocket
        transparent
        header_upstream Authorization {>Authorization}
    }
}

xxx-server2.duckdns.org {
    tls {
	    dns duckdns
	}
	log data/requests.log {
	rotate_size 50  # Rotate after 50 MB
	rotate_age  90  # Keep rotated files for 90 days
	rotate_keep 20  # Keep at most 20 log files
	rotate_compress # Compress rotated log files in gzip format
    }
    header / {
    Strict-Transport-Security "max-age=31536000; includeSubdomains"
    X-XSS-Protection "1; mode=block"
    X-Content-Type-Options "nosniff"
    X-Frame-Options "SAMEORIGIN"
    Referrer-Policy "same-origin"
    -Server
}
    proxy / 192.168.1.7:8065 {
        websocket
        transparent
        header_upstream Authorization {>Authorization}
    }
}

what I am trying to achieve for my third server (Rocketchat) a sort of passthorught from Caddy to Nginx installed in the VM where ROCKETCHAT server is

I think I am trying to do the same