forked from infra/ansible
Revert "proxies / wiki: disable RecentChanges for a bit"
This reverts commit b94e384d21.
This commit is contained in:
parent
b94e384d21
commit
b4858d172d
1 changed files with 0 additions and 4 deletions
|
|
@ -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}}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue