Merge branch 'chore/remove-reference-to-distsn' into 'develop'
[akkoma] / docs / configuration / storing_remote_media.md
index 619300e7eb77b07f04fd71330e1298e8a36fb79f..c01985d25d72e70dd1a0f1821eca660f1dbb54ba 100644 (file)
@@ -1,7 +1,7 @@
 # Storing Remote Media
 
 Pleroma does not store remote/federated media by default. The best way to achieve this is to change Nginx to keep its reverse proxy cache
-forever and to activate the `MediaProxyWarmingPolicy` MRF policy in Pleroma which will automatically fetch all media through the proxy
+for a year and to activate the `MediaProxyWarmingPolicy` MRF policy in Pleroma which will automatically fetch all media through the proxy
 as soon as the post is received by your instance.
 
 ## Nginx
@@ -33,6 +33,6 @@ as soon as the post is received by your instance.
 Add to your `prod.secret.exs`:
 
 ```
-config :pleroma, :instance,
-  rewrite_policy: [Pleroma.Web.ActivityPub.MRF.MediaProxyWarmingPolicy]
+config :pleroma, :mrf,
+  policies: [Pleroma.Web.ActivityPub.MRF.MediaProxyWarmingPolicy]
 ```