Send: Change max file size & other options + Add max body size in NGINX.
This commit is contained in:
parent
85f91cb5ec
commit
8aa234adfc
2 changed files with 11 additions and 7 deletions
|
@ -137,6 +137,8 @@ server {
|
|||
location / {
|
||||
proxy_pass http://send;
|
||||
|
||||
client_max_body_size 15G;
|
||||
|
||||
proxy_ignore_headers X-Accel-Expires Expires Cache-Control;
|
||||
|
||||
# WebSocket
|
||||
|
|
|
@ -8,13 +8,15 @@ services:
|
|||
environment:
|
||||
- BASE_URL=https://send.viyurz.fr
|
||||
- REDIS_HOST=send-redis
|
||||
# To customize upload limits
|
||||
# - EXPIRE_TIMES_SECONDS=3600,86400,604800,2592000,31536000
|
||||
# - DEFAULT_EXPIRE_SECONDS=3600
|
||||
# - MAX_EXPIRE_SECONDS=31536000
|
||||
# - DOWNLOAD_COUNTS=1,2,5,10,15,25,50,100,1000
|
||||
# - MAX_DOWNLOADS=1000
|
||||
# - MAX_FILE_SIZE=2684354560
|
||||
- FILE_DIR=/uploads
|
||||
- MAX_FILE_SIZE=16106127360
|
||||
# - MAX_ARCHIVES_PER_USER=16
|
||||
- EXPIRE_TIMES_SECONDS=3600,86400,604800,2592000
|
||||
- DEFAULT_EXPIRE_SECONDS=86400
|
||||
- MAX_EXPIRE_SECONDS=2592000
|
||||
- DOWNLOAD_COUNTS=1,2,5,10,15,25,50,100,1000,10000
|
||||
- DEFAULT_DOWNLOADS=100
|
||||
- MAX_DOWNLOADS=10000
|
||||
ports:
|
||||
- '[::1]:1443:1443'
|
||||
volumes:
|
||||
|
|
Loading…
Reference in a new issue