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

archwiki: workaround hard-coded wgScriptPath in the new Vector theme[1]

Without this change, search suggestions don't work.

[1] https://phabricator.wikimedia.org/T288686
parent 6d1d1969
Pipeline #14019 passed with stage
in 34 seconds
......@@ -75,6 +75,11 @@ server {
rewrite ^ /rest.php;
}
# https://phabricator.wikimedia.org/T288686
location ^~ /w/rest.php/v1/search/title {
return 302 /rest.php/v1/search/title$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;
......
Markdown is supported
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