Page MenuHomeDevCentral

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

Authored by Duranzed on Feb 12 2026, 11:30.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Mar 24, 19:12
Unknown Object (File)
Tue, Mar 24, 14:33
Unknown Object (File)
Mon, Mar 23, 22:05
Unknown Object (File)
Mon, Mar 23, 22:05
Unknown Object (File)
Mon, Mar 23, 22:02
Unknown Object (File)
Sun, Mar 22, 22:21
Unknown Object (File)
Sat, Mar 14, 00:48
Unknown Object (File)
Sat, Mar 14, 00:40
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.Feb 12 2026, 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.Feb 12 2026, 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.Feb 12 2026, 21:00

Update white line and position

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