Block requests from Gab

This commit is contained in:
Felix Ableitner 2019-07-10 23:56:40 +02:00
parent 53c23727e7
commit d714997f58

View file

@ -8,6 +8,11 @@ http {
server {
listen 9000;
# Block all requests from Gab instances
if ($http_user_agent ~* "GabSocial") {
return 404;
}
# Hide nginx version
server_tokens off;