title: Serving static files directly via a containerized front-end web server?
body: <p>I have a Docker Compose file with a couple of PHP/FastCGI-based web applications that I want to expose via Nginx (3 containers in total). If the two web app containers store their static files on "/var/www/html", how can I get the Nginx container to serve the static files <strong>directly</strong>?</p>
  
  <p>I cannot find a way to do this at all, meaning that I have to get the two web apps to serve their own static files. And this would require moving from FastCGI to HTTP if I cannot change the application code (as is the case here).</p>
  
  <p>This could be doable if there were a way to mount container volumes on different paths, just like you can do it with the host system. Is there any way to accomplish something like this, other than doing it via the host system?</p>