On enlève toute référence à pommes de lune dans les pages d'erreur statiques

This commit is contained in:
Jean-Marie Favreau
2025-04-02 22:40:58 +02:00
parent 9f1c47dd7d
commit 08993ce951
4 changed files with 46 additions and 43 deletions

View File

@@ -32,8 +32,8 @@ http {
alias /usr/src/app/media/;
}
error_page 502 /static/html/500.html;
error_page 503 /static/html/500.html;
error_page 502 /static/html/502.html;
error_page 503 /static/html/503.html;
if ($http_user_agent ~* "Amazonbot|meta-externalagent|ClaudeBot|ahrefsbot|semrushbot") {
return 444;