Add NGINX_CLIENT_MAX_BODY_SIZE to example

This commit is contained in:
Logan Marchione 2023-06-19 15:13:42 -04:00
parent ef8106adcd
commit f708d1f194
2 changed files with 7 additions and 4 deletions

View File

@ -31,9 +31,10 @@ Runs a Nginx WebDav server in Docker
### Environment variables ### Environment variables
| Variable | Required? | Definition | Example | Comments | | Variable | Required? | Definition | Example | Comments |
|-------------|-----------|----------------------------------|----------------------------|--------------------------------------------------------------| |----------------------------|--------------------|----------------------------------------------------------------------------------------------------------------|----------------------------|--------------------------------------------------------------|
| WEBDAV_USER | No | WebDav username | user | user AND pass need to be set for authentication to work | | WEBDAV_USER | No | WebDav username | user | user AND pass need to be set for authentication to work |
| WEBDAV_PASS | No | WebDav password | password1 | user AND pass need to be set for authentication to work | | WEBDAV_PASS | No | WebDav password | password1 | user AND pass need to be set for authentication to work |
| NGINX_CLIENT_MAX_BODY_SIZE | No (default: 250M) | Nginx's [client_max_body_size](https://nginx.org/en/docs/http/ngx_http_core_module.html#client_max_body_size) | 500M | Be sure to include the units. Set to `0` to disable. |
### Ports ### Ports
| Port on host | Port in container | Comments | | Port on host | Port in container | Comments |
@ -56,6 +57,7 @@ services:
environment: environment:
- WEBDAV_USER=user - WEBDAV_USER=user
- WEBDAV_PASS=password1 - WEBDAV_PASS=password1
- NGINX_CLIENT_MAX_BODY_SIZE=500M
networks: networks:
- webdav - webdav
ports: ports:

View File

@ -9,6 +9,7 @@ services:
environment: environment:
- WEBDAV_USER=user - WEBDAV_USER=user
- WEBDAV_PASS=password1 - WEBDAV_PASS=password1
- NGINX_CLIENT_MAX_BODY_SIZE=500M
networks: networks:
- webdav - webdav
ports: ports: