How to use custom Nginx config for official nginx Docker image?
问题 I have next docker-compose file: nginx: build: . ports: - "80:80" - "443:443" links: - fpm fpm: image: php:fpm ports: - "9000:9000" The Dockerfile command list is: FROM nginx ADD ./index.php /usr/share/nginx/html/ # Change Nginx config here... The Nginx server work fine and I can see default html page on http://localhost/index.html , but don't execute PHP scripts. So when I get http://localhost/index.php - browser download PHP file instead of execute them. How can I use custom Nginx config to