You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -21,15 +21,15 @@ The container sets up a www root folder in the following location:
21
21
22
22
As a final task a demo index.php is copied to this location.
23
23
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:
26
26
27
-
``/var/www/``
27
+
``/var/www/public``
28
28
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.
30
30
31
31
### Build Folder (within repo)
32
32
Contains nginx config files as well as php-fpm settings. Also include setup.sh file that offloads tasks from the Dockerfile to reduce layers.
33
33
34
34
### 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