diff --git a/nginx-rp/reverse-proxy.conf b/nginx-rp/reverse-proxy.conf index 3cdd1d1..e2244df 100644 --- a/nginx-rp/reverse-proxy.conf +++ b/nginx-rp/reverse-proxy.conf @@ -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 diff --git a/send/docker-compose.yaml b/send/docker-compose.yaml index d6537d4..b2a5363 100644 --- a/send/docker-compose.yaml +++ b/send/docker-compose.yaml @@ -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: