Verified Commit 47aef501 authored by Jelle van der Waa's avatar Jelle van der Waa 🚧
Browse files

Update mediawiki whitelist for new editor

A new editor was introduced in the most recent mediawiki update which
comes with images from a new extension location
parent a950a8a7
Pipeline #9080 passed with stage
in 58 seconds
......@@ -107,7 +107,7 @@ server {
}
# whitelist known OK directories
location ~ ^/(?:skins|resources|images|extensions/ArchLinux/modules)/ {
location ~ ^/(?:skins|resources|images|extensions/ArchLinux/modules|extensions/WikiEditor/modules/images/toolbar|extensions/CodeMirror/resources/mode/mediawiki/img)/ {
expires 30d;
add_header Pragma public;
add_header Cache-Control "public, must-revalidate, proxy-revalidate";
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment