Skip to content

Mastodonの設定項目

Tatsuya Koishi edited this page Apr 7, 2022 · 6 revisions

設定例

mastodon:
  url: https://mstdn.example.com/
  status:
    label: キュア!
  search:
    limit: 100
  streaming:
    root_cert_file: /etc/ssl/cert.pem
    verify_peer: true

詳細

/mastodon/url

  • インスタンスのルートURLを記述。

/mastodon/status/label

  • 「トゥート」を別の文言にしているインスタンスでは、要修正。

/mastodon/search/limit

  • 検索APIの件数上限。
  • デフォルトは40。(Mastodon本来のデフォルトは20

/mastodon/streaming/root_cert_file

  • リスナーが接続に使用するルート証明書。通常は設定不要。

/mastodon/streaming/verify_peer

  • リスナーが接続の際に、証明書の検証を行うかどうか。デフォルトはtrue
  • やむを得ない場合にのみfalseに。通常はroot_cert_fileを修正してがんばってください。
Clone this wiki locally