Add NGINX_CLIENT_MAX_BODY_SIZE to example
This commit is contained in:
parent
ef8106adcd
commit
f708d1f194
@ -31,9 +31,10 @@ Runs a Nginx WebDav server in Docker
|
||||
|
||||
### Environment variables
|
||||
| Variable | Required? | Definition | Example | Comments |
|
||||
|-------------|-----------|----------------------------------|----------------------------|--------------------------------------------------------------|
|
||||
|----------------------------|--------------------|----------------------------------------------------------------------------------------------------------------|----------------------------|--------------------------------------------------------------|
|
||||
| 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 |
|
||||
| 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
|
||||
| Port on host | Port in container | Comments |
|
||||
@ -56,6 +57,7 @@ services:
|
||||
environment:
|
||||
- WEBDAV_USER=user
|
||||
- WEBDAV_PASS=password1
|
||||
- NGINX_CLIENT_MAX_BODY_SIZE=500M
|
||||
networks:
|
||||
- webdav
|
||||
ports:
|
||||
|
@ -9,6 +9,7 @@ services:
|
||||
environment:
|
||||
- WEBDAV_USER=user
|
||||
- WEBDAV_PASS=password1
|
||||
- NGINX_CLIENT_MAX_BODY_SIZE=500M
|
||||
networks:
|
||||
- webdav
|
||||
ports:
|
||||
|
Loading…
Reference in New Issue
Block a user