Skip to content

Commit 3a3dac8

Browse files
committed
updated Readme
1 parent 8aa7e07 commit 3a3dac8

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,15 +21,15 @@ The container sets up a www root folder in the following location:
2121

2222
As a final task a demo index.php is copied to this location.
2323

24-
### Volumes
25-
The following folder is specified as a volume:
24+
### Web Root
25+
The following folder is specified as the default root web folder:
2626

27-
``/var/www/``
27+
``/var/www/public``
2828

29-
Note that the ``/var/www/public`` is the root folder for serving PHP files for your web server. Having a layer (folder) back for the volume allows a bit more flexibility on file visibility.
29+
Note that the ``/var/www/public`` is the root folder for serving PHP files for your web server.
3030

3131
### Build Folder (within repo)
3232
Contains nginx config files as well as php-fpm settings. Also include setup.sh file that offloads tasks from the Dockerfile to reduce layers.
3333

3434
### Notes
35-
Note that PHP-FPM does not respect environment variables passed in the traditional manner. You will need to explicitly state what your variables are within the ``/etc/php5/fpm/pool.d/www.conf`` file.
35+
Note that PHP-FPM has been configured to pass through environment variables when starting the container using the ``clear_env = no`` flag within the ``/etc/php5/fpm/pool.d/www.conf`` file.

0 commit comments

Comments
 (0)