Skip to content
Snippets Groups Projects
Commit b247ea4c authored by Jakub Klinkovský's avatar Jakub Klinkovský Committed by Kristian Klausen
Browse files

archwiki: remove workarounds for hardcoded wgScriptPath

These were fixed in MediaWiki 1.38
parent 16987c3f
No related branches found
No related tags found
No related merge requests found
......@@ -75,16 +75,6 @@ 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;
}
# 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