Fix bot blocker

This commit is contained in:
Jean-Marie Favreau 2024-11-25 00:12:03 +01:00
parent db7604623c
commit 3c5b5a9fd6

View File

@ -32,7 +32,7 @@ http {
error_page 502 /static/html/500.html; error_page 502 /static/html/500.html;
error_page 503 /static/html/500.html; error_page 503 /static/html/500.html;
if ($http_user_agent ~* (Amazonbot|meta-externalagent)) { if ($http_user_agent ~* "(?:Amazonbot|meta-externalagent)") {
return 444; return 444;
} }