1
0
Fork 0
forked from infra/ansible

Revert "proxies / wiki: disable RecentChanges for a bit"

This reverts commit b94e384d21.
This commit is contained in:
Kevin Fenzi 2026-04-17 08:49:21 -07:00
commit b4858d172d

View file

@ -14,10 +14,6 @@ RewriteRule .* https://%{HTTP_HOST}%{REQUEST_URI} [R=301,NE,L]
RewriteCond %{HTTP_USER_AGENT} "(Bytespider|ClaudeBot|Amazonbot|YandexBot|ChatGLM-Spider|GPTBot|Barkrowler|YisouSpider|MJ12bot|Avengineers-Crawler)" [NC]
RewriteRule .* - [F,L]
# temp disable recent changes for bots
RewriteCond %{QUERY_STRING} title=Special%3ARecentChanges [NC]
RewriteRule .* - [F,L]
# /wiki must come before /w due to prefix matching.
ProxyPass {{wikipath}} {{proxyurl}}{{wikipath}}
ProxyPassReverse {{wikipath}} {{proxyurl}}{{wikipath}}