forked from nutomic/peertube.social
Block requests from Gab
This commit is contained in:
parent
53c23727e7
commit
d714997f58
1 changed files with 5 additions and 0 deletions
|
@ -8,6 +8,11 @@ http {
|
||||||
server {
|
server {
|
||||||
listen 9000;
|
listen 9000;
|
||||||
|
|
||||||
|
# Block all requests from Gab instances
|
||||||
|
if ($http_user_agent ~* "GabSocial") {
|
||||||
|
return 404;
|
||||||
|
}
|
||||||
|
|
||||||
# Hide nginx version
|
# Hide nginx version
|
||||||
server_tokens off;
|
server_tokens off;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue