Skip to content
Snippets Groups Projects
Verified Commit c19e3031 authored by Kristian Klausen's avatar Kristian Klausen :tada:
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
No related branches found
No related tags found
No related merge requests found
Pipeline #14019 passed
......@@ -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;
......
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