GNU social JP
  • FAQ
  • Login
GNU social JPは日本のGNU socialサーバーです。
Usage/ToS/admin/test/Pleroma FE
  • Public

    • Public
    • Network
    • Groups
    • Featured
    • Popular
    • People

Embed Notice

HTML Code

Corresponding Notice

  1. Embed this notice
    anime graf mays ?️? (graf@poa.st)'s status on Wednesday, 17-May-2023 03:47:17 JSTanime graf mays ?️?anime graf mays ?️?
    in reply to
    • Alex Gleason
    • ?? أحمد ??
    • flappypaddle

    @ahmad @alex @flappypaddle poast goes over and above to mitigate this with other measures that are a secret, yes however you can do the following:

    /etc/nginx/conf.d/ratelimit.conf:

    limit_req_zone $request_uri zone=register_rate:1m rate=10r/m;

    /etc/nginx/sites-enabled/pleroma.conf (or whatever you named it

    server { [...] location = /api/v1/accounts { limit_req zone=register_rate; proxy_pass http://phoenix; } }

    this will limit hits to the endpoint used for registration to 3 maximum in a minute. lower rate=10r/m to rate=3r/m to restrict to one registration per minute, increase by three per registration you want (3 calls are made each registration attempt)

    In conversationWednesday, 17-May-2023 03:47:17 JST from poa.stpermalink

    Attachments


  • Help
  • About
  • FAQ
  • TOS
  • Privacy
  • Source
  • Version
  • Contact

GNU social JP is a social network, courtesy of GNU social JP管理人. It runs on GNU social, version 2.0.2-dev, available under the GNU Affero General Public License.

Creative Commons Attribution 3.0 All GNU social JP content and data are available under the Creative Commons Attribution 3.0 license.