1
0
mirror of https://yerbamate.ml/nutomic/peertube.social synced 2024-11-25 00:38:41 -05:00

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;