Hello @Mark Nevill you're right. In your setup, the container with your actual application code (using PHP-FPM) should be the main container, and the Nginx container acting as a reverse proxy should be the sidecar container. This aligns with the concept of sidecar containers in Azure App Service.
The sidecar pattern is designed to allow the main application to focus on its core responsibilities while the sidecar handles auxiliary tasks. In your case, the Nginx container is handling the routing and forwarding of requests, which is a supportive role
Best,
Grace