HomeDevCentral

Allow upload of 32M
3dcc266f704fUnpublished

Unpublished Commit · Learn More

Repository Importing: This repository is still importing.

Description

Allow upload of 32M

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.

Reviewers: Kaliiixx

Subscribers: Nasqueron Docker deployment squad, DevCentral

Projects: Nasqueron Docker deployment squad

Maniphest Tasks: T457

Differential Revision: http://devcentral.nasqueron.org/D14

Details

Provenance
derecksonAuthored on Jul 9 2015, 00:38
derecksonPushed on Dec 19 2016, 13:41
Differential Revision
D14: Allow upload of 32M
Parents
rDPHPVIIFPMd0675f497d49: PHP upgraded to 5.6.10
Branches
Unknown
Tags
Unknown