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:
parent
53c23727e7
commit
d714997f58
@ -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 New Issue
Block a user