Skip to content

Commit 3c98f12

Browse files
committed
Nginx variables section
1 parent fe4708a commit 3c98f12

1 file changed

Lines changed: 14 additions & 1 deletion

File tree

README.md

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ Variable | Default Value | Description
5858
**UID** | `-0` | Changes the user id that executes the commands **(ignored if ASUSER is provided)**
5959
**COMPOSER_ALLOW_SUPERUSER** | `1` | Allows composer to run with super user
6060
**COMPOSER_MEMORY_LIMIT** | `-1` | Changes composer memory limit
61-
**ENABLE_XDEBUG** | `false` | Enables the Xdebug extension **(only prod versions)**
61+
**ENABLE_XDEBUG** | `false` | Enables the Xdebug extension
6262
**PHP_MEMORY_LIMIT** | `256M` | Changes PHP memory limit
6363
**PHP_MAX_INPUT_VARS** | `1000`  | Changes how many input variables may be accepted on PHP
6464
**PHP_UPLOAD_MAX_FILESIZE** | `25M` | Changes PHP maximum size of an uploaded file
@@ -68,6 +68,19 @@ Variable | Default Value | Description
6868
**PHP_FPM_MAX_CHILDREN** | `10` | Changes the number of child processes to be used on FPM
6969
**PHP_FPM_REQUEST_TERMINATE_TIMEOUT** | `60` | Changes FPM timeout to serve a single request
7070

71+
### NGINX
72+
73+
Variable | Default Value | Description
74+
--- | --- | ---
75+
**NGINX_LISTEN** | `80` | Changes the PORT address
76+
**NGINX_ROOT** | `/app/public` | Changes NGINX root directive
77+
**NGINX_INDEX** | `index.php` | Changes the index directive
78+
**NGINX_CLIENT_MAX_BODY_SIZE** | `25M` | Changes maximum allowed size of the client request body
79+
**NGINX_PHP_FPM** | `unix:/run/php-fpm.sock` | Changes the address of a FastCGI server
80+
**NGINX_FASTCGI_READ_TIMEOUT** | `60s` | Changes a timeout for reading a response from the FastCGI server
81+
**NGINX_FASTCGI_BUFFERS** | `'8 8k'` | Changes the number and size of the buffers used for reading a response
82+
**NGINX_FASTCGI_BUFFER_SIZE** | `'16k'` | Changes the size of the buffer used for reading the first part of the response received
83+
7184
## Usage
7285

7386
With `docker run`:

0 commit comments

Comments
 (0)