Nginx is setup to expect files in the /var/app directory and serve files from the /var/app/public directory. It will also use index.php files as the index by default. This is configurable using environment variables.
You can find a list of all environment variables available to configure by looking at the entrypoint.sh file here
When running the container the default entrypoint will start nginx and php-fpm and then sit and watch both processes for failures and exit if either fail.
Content type
Image
Digest
Size
75.5 MB
Last updated
over 6 years ago
docker pull pmconnect/php-nginx