Useful tip for Fediverse instance admins, gab 

Gab actually uses a custom user agent to grab stuff.

Mastodon does the same, but this makes it easy to make sure gab instances can't pull from you!

add
if ($http_user_agent ~* (gabsocial)) {
return 403;
}

To your nginx configuration. That blocks all requests with a user agent that includes "gabsocial" (case insensitive)

You can also add other user agents, at your leisure

It just returns a 403 if they try to pull

Follow

Useful tip for Fediverse instance admins, gab 

@maxine there isn't currently an HTTP status code for "Fuck off" but if cloudflare can add arbitrary bullshit so can we

Formally proposing status 470 for telling a client to Fuck Off

Useful tip for Fediverse instance admins, gab, joke, drug related 

@troubleMoney unrelated but Twitter uses an unofficial 420 that is "enhance your calm"

It is returned when a request limit is hit

Sign in to participate in the conversation
Computer Fairies

Computer Fairies is a Mastodon instance that aims to be as queer, friendly and furry as possible. We welcome all kinds of computer fairies!