Page MenuHomeDevCentral

Simplify MediaWiki nginx configuration for thumbnails
ClosedPublic

Authored by dereckson on Mar 24 2018, 00:57.
Tags
None
Referenced Files
F3774596: D1489.diff
Sun, Nov 24, 12:50
Unknown Object (File)
Wed, Nov 20, 16:24
Unknown Object (File)
Tue, Nov 12, 09:25
Unknown Object (File)
Tue, Nov 12, 08:51
Unknown Object (File)
Tue, Nov 12, 08:08
Unknown Object (File)
Tue, Nov 12, 07:39
Unknown Object (File)
Mon, Nov 11, 19:31
Unknown Object (File)
Fri, Nov 8, 00:40
Subscribers
None

Details

Summary

The current configuration contains a if block.

Simplified by a try_files directive.

https://shorturls.redwerks.org/ concurs, it also switched the previous
configuration to try_files.

Test Plan

Tested for:

  • www.wolfplex.org (wiki URL scheme)
  • agora.ansqueron.org (root URL scheme)

Diff Detail

Repository
rOPS Nasqueron Operations
Lint
Lint Passed
Unit
No Test Coverage
Branch
mediawiki/thumbnails (branched from master)
Build Status
Buildable 2347
Build 2595: arc lint + arc unit

Event Timeline

dereckson created this revision.

Comment has been removed too, as new InstantCommons mechanism can be configured to put the image in cache or serve thumbnail from WP.

This revision is now accepted and ready to land.Mar 24 2018, 00:58
This revision was automatically updated to reflect the committed changes.