This commit is contained in:
squidboi 2018-06-12 21:40:22 -07:00
parent a2f7c02108
commit 2586426fa0
No known key found for this signature in database
GPG Key ID: 018925A9B65D2457

View File

@ -1,6 +1,7 @@
# Configuring Pleroma # Configuring Pleroma
In the `config/` directory, you will find the following relevant files: In the `config/` directory, you will find the following relevant files:
* `config.exs`: default base configuration * `config.exs`: default base configuration
* `dev.exs`: default additional configuration for `MIX_ENV=dev` * `dev.exs`: default additional configuration for `MIX_ENV=dev`
* `prod.exs`: default additional configuration for `MIX_ENV=prod` * `prod.exs`: default additional configuration for `MIX_ENV=prod`
@ -8,6 +9,7 @@ In the `config/` directory, you will find the following relevant files:
Do not modify files in the list above. Do not modify files in the list above.
Instead, overload the settings by editing the following files: Instead, overload the settings by editing the following files:
* `dev.secret.exs`: custom additional configuration for `MIX_ENV=dev` * `dev.secret.exs`: custom additional configuration for `MIX_ENV=dev`
* `prod.secret.exs`: custom additional configuration for `MIX_ENV=prod` * `prod.secret.exs`: custom additional configuration for `MIX_ENV=prod`
@ -21,6 +23,7 @@ Modify incoming and outgoing posts.
`rewrite_policy` specifies which MRF policies to apply. `rewrite_policy` specifies which MRF policies to apply.
It can either be a single policy or a list of policies. It can either be a single policy or a list of policies.
Currently, MRFs availible by default are: Currently, MRFs availible by default are:
* `Pleroma.Web.ActivityPub.MRF.NoOpPolicy` * `Pleroma.Web.ActivityPub.MRF.NoOpPolicy`
* `Pleroma.Web.ActivityPub.MRF.DropPolicy` * `Pleroma.Web.ActivityPub.MRF.DropPolicy`
* `Pleroma.Web.ActivityPub.MRF.SimplePolicy` * `Pleroma.Web.ActivityPub.MRF.SimplePolicy`