Page MenuHomeDevCentral

Increase upload limit to 100M for wikis (1/2 - nginx)
ClosedPublic

Authored by Duranzed on Thu, Feb 12, 11:30.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Feb 12, 13:13
Unknown Object (File)
Thu, Feb 12, 13:12
Unknown Object (File)
Thu, Feb 12, 13:11
Unknown Object (File)
Thu, Feb 12, 13:11
Unknown Object (File)
Thu, Feb 12, 13:11
Subscribers
None

Details

Summary

MediaWiki allows by default uploads up to 100 MB. This makes sense nowadays when
trying to upload larger files, like high-resolution pictures from a smartphone.

Default value for nginx is much lower.

See also D3951 for PHP part.

Test Plan

Upload a large file

Diff Detail

Repository
rOPS Nasqueron Operations
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

Duranzed created this revision.
This revision is now accepted and ready to land.Thu, Feb 12, 11:42
Duranzed added a reviewer: dereckson.

Update of the file to match nginx configuration

Updated file to match nginx

dereckson retitled this revision from Add Nginx directive to accept files less 100M to Increase upload limit to 100M for wikis (1/2 - nginx).
dereckson edited the summary of this revision. (Show Details)
dereckson edited the test plan for this revision. (Show Details)
dereckson requested changes to this revision.Thu, Feb 12, 21:00
dereckson added inline comments.
roles/saas-mediawiki/nginx/files/includes/mediawiki-root
24–26

It would make more sense to first put general rules valid for each blocks, then the individual location blocks:

`
root ...

client_max...

location ...
roles/saas-mediawiki/nginx/files/includes/mediawiki-wiki
23

Extraneous line

Tip: you can use git add -p when you edit several files to only take content values, not whitespaces.

This revision now requires changes to proceed.Thu, Feb 12, 21:00

Update white line and position

This revision is now accepted and ready to land.Sat, Feb 14, 11:05