Skip to content
Snippets Groups Projects
Verified Commit 6757e445 authored by Kristian Klausen's avatar Kristian Klausen :tada:
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
No related branches found
No related tags found
No related merge requests found
Pipeline #15136 passed
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment