Page MenuHomeDevCentral

Allow upload of 32M
ClosedPublic

Authored by dereckson on Jul 9 2015, 00:23.
Referenced Files
F10841512: D14.id27.diff
Mon, Jul 28, 20:21
F10841061: D14.diff
Mon, Jul 28, 17:45
F10840059: D14.id26.diff
Mon, Jul 28, 15:14
F10839938: D14.id.diff
Mon, Jul 28, 15:11
Unknown Object (File)
Sun, Jul 27, 07:30
Unknown Object (File)
Fri, Jul 18, 16:14
Unknown Object (File)
Tue, Jul 15, 12:15
Unknown Object (File)
Sat, Jul 12, 23:43

Details

Summary

In /etc/nginx/nginx.conf we set client_max_body_size at 32M, so we
can upload larger files, of arbitrary size if application use chunked
uploads.

32M is the value suggested by the Phabricator configuration:
https://secure.phabricator.com/book/phabricator/article/configuring_file_storage/#configuring-upload-limit

Reference: http://nginx.org/en/docs/http/ngx_http_core_module.html#client_max_body_size

Fixes T457.

Test Plan
  • Syntax checked through |nginx -t`.
  • Result checked on Wolfphab and DevCentral, two Docker containers using this image.

Diff Detail

Repository
rDPHPFPM Docker image for Nginx, php-fpm
Lint
No Lint Coverage
Unit
No Test Coverage
Branch
client_max_body_size

Event Timeline

dereckson retitled this revision from to Allow upload of 32M.
dereckson updated this object.
dereckson edited the test plan for this revision. (Show Details)
dereckson added a reviewer: Sandlayth.
Sandlayth edited edge metadata.
This revision is now accepted and ready to land.Jul 9 2015, 00:43
This revision was automatically updated to reflect the committed changes.