We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 409fe1c commit 07a3099Copy full SHA for 07a3099
README.md
@@ -9,4 +9,22 @@ There must be a `app.php` inside the folder.
9
10
```
11
docker run --rm -it --env NGINX_WEB_ROOT=/app/web -p 80:80 -v /home/user/app/:/app makasim/nginx-php-fpm
12
-```
+```
13
+
14
+## Env vars
15
16
+Here's available env vars and their default values:
17
18
19
+NGINX_WEB_ROOT= /var/www/html
20
+NGINX_PHP_FALLBACK= /app.php
21
+NGINX_PHP_LOCATION= ^/app\.php(/|$)
22
+NGINX_USER= www-data
23
+NGINX_CONF= /etc/nginx/nginx.conf
24
25
+PHP_SOCK_FILE= /run/php.sock
26
+PHP_USER= www-data
27
+PHP_GROUP= www-data
28
+PHP_MODE= 0660
29
+PHP_FPM_CONF= /etc/php/7.0/fpm/php-fpm.conf
30
0 commit comments