Follow

So this small ruleset in the Apache reverse proxy config on my Mastodon instance seems to work fine for the time being:

RewriteCond %{HTTP_USER_AGENT} \(GabSocial\/ [NC]
RewriteRule .* - [F]

Log:
[10/Jul/2019:16:46:32 +0200] "POST /inbox HTTP/1.1" 403 4105 "-" "http.rb/3.3.0 (GabSocial/2.8.4; +https://gab. com/)"

Unfortunately providing an error code other than 403 seems not as easy.

Sign in to participate in the conversation
INFRa Mastodon

The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!