Verified Commit 6757e445 authored by Kristian Klausen's avatar Kristian Klausen 🎉
Browse files

archwiki: workaround another hard-coded wgScriptPath in the new Vector theme

Without this change, "Search for pages containing" doesn't work.
parent c81f4ac1
Pipeline #15136 passed with stage
in 46 seconds
......@@ -80,6 +80,11 @@ server {
return 302 /rest.php/v1/search/title$is_args$args;
# Workaround for "Search for pages containing" hard-coded to /w/index.php
location ^~ /w/index.php {
return 302 /index.php$is_args$args;
# special case for '/load.php' type URLs to cache css/js in nginx to relieve php-fpm
location = /load.php {
access_log /var/log/nginx/{{ archwiki_domain }}/access.log main;
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