Page MenuHomeDevCentral

Simplify MediaWiki nginx configuration for thumbnails
ClosedPublic

Authored by dereckson on Mar 24 2018, 00:57.
Tags
None
Referenced Files
F3795865: D1489.id3813.diff
Thu, Nov 28, 04:10
Unknown Object (File)
Tue, Nov 26, 20:19
Unknown Object (File)
Tue, Nov 26, 03:15
Unknown Object (File)
Sun, Nov 24, 15:00
Unknown Object (File)
Sun, Nov 24, 14:45
Unknown Object (File)
Sun, Nov 24, 12:50
Unknown Object (File)
Wed, Nov 20, 16:24
Unknown Object (File)
Tue, Nov 12, 09:25
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 Not Applicable
Unit
Tests Not Applicable

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.