HomeDevCentral

Allow upload of 32M

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
Differential Revision
D14: Allow upload of 32M
Parents
rDPHPFPMd0675f497d49: PHP upgraded to 5.6.10
Branches
Unknown
Tags
Unknown
Tasks
T457: 413 entity too large on Phabricator