diff --git a/templates/nginx.conf b/templates/nginx.conf index f71e843..60270a3 100644 --- a/templates/nginx.conf +++ b/templates/nginx.conf @@ -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;