Page MenuHomeDevCentral

Simplify MediaWiki nginx configuration for thumbnails
ClosedPublic

Authored by dereckson on Mar 24 2018, 00:57.
Tags
None
Referenced Files
F3602839: D1489.id3813.diff
Sun, Sep 29, 04:21
F3602527: D1489.diff
Sun, Sep 29, 02:28
Unknown Object (File)
Thu, Sep 12, 10:24
Unknown Object (File)
Thu, Sep 12, 10:23
Unknown Object (File)
Thu, Sep 12, 10:16
Unknown Object (File)
Thu, Sep 12, 10:10
Unknown Object (File)
Wed, Sep 11, 10:38
Unknown Object (File)
Fri, Sep 6, 08:10
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.