- key: :render_errors,
- type: :keyword,
- description: "",
- suggestions: [[view: Pleroma.Web.ErrorView, accepts: ~w(json)]],
- children: [
- %{
- key: :view,
- type: :module,
- description: "",
- suggestions: [Pleroma.Web.ErrorView]
- },
- %{
- key: :accepts,
- type: {:list, :string},
- description: "",
- suggestions: ["json"]
- }
- ]
- },
- %{
- key: :pubsub,
- type: :keyword,
- description: "",
- suggestions: [[name: Pleroma.PubSub, adapter: Phoenix.PubSub.PG2]],
- children: [
- %{
- key: :name,
- type: :module,
- description: "",
- suggestions: [Pleroma.PubSub]
- },
- %{
- key: :adapter,
- type: :module,
- description: "",
- suggestions: [Phoenix.PubSub.PG2]
- }
- ]
- },
- %{
- key: :secure_cookie_flag,
- type: :boolean,
- description: "",
- suggestions: [true, false]
- },
- %{
- key: :extra_cookie_attrs,
- type: {:list, :string},
- description: "",
- suggestions: ["SameSite=Lax"]
- }
- ]
- },
- %{
- group: :pleroma,
- key: :activitypub,
- type: :group,
- description: "ActivityPub-related settings",
- children: [
- %{
- key: :unfollow_blocked,
- type: :boolean,
- description: "Whether blocks result in people getting unfollowed",
- suggestions: [true, false]
- },
- %{
- key: :outgoing_blocks,
- type: :boolean,
- description: "Whether to federate blocks to other instances",
- suggestions: [true, false]
- },
- %{
- key: :sign_object_fetches,
- type: :boolean,
- description: "Sign object fetches with HTTP signatures",
- suggestions: [true, false]
- },
- %{
- key: :follow_handshake_timeout,
- type: :integer,
- description: "Following handshake timeout",
- suggestions: [500]
- }
- ]
- },
- %{
- group: :pleroma,
- key: :http_security,
- type: :group,
- description: "HTTP security settings",
- children: [
- %{
- key: :enabled,
- type: :boolean,
- description: "Whether the managed content security policy is enabled",
- suggestions: [true, false]
- },
- %{
- key: :sts,
- type: :boolean,
- description: "Whether to additionally send a Strict-Transport-Security header",
- suggestions: [true, false]