Merge branch 'fix-howto_mediaproxy' into 'develop'
authorkaniini <ariadne@dereferenced.org>
Thu, 18 Jul 2019 12:29:26 +0000 (12:29 +0000)
committerkaniini <ariadne@dereferenced.org>
Thu, 18 Jul 2019 12:29:26 +0000 (12:29 +0000)
Fix media proxy doc redirect setting not working

See merge request pleroma/pleroma!1448

docs/config/howto_mediaproxy.md

index fb731112b8919c9ec873671b7d8c2ade4b66fa7b..ed70c3ed484339684939d9c940eee1472dec79be 100644 (file)
@@ -24,7 +24,9 @@ If you came here from one of the installation guides, take a look at the example
 ```
 config :pleroma, :media_proxy,
       enabled: true,
-      redirect_on_failure: true
+      proxy_opts: [
+            redirect_on_failure: true
+      ]
       #base_url: "https://cache.pleroma.social"
 ```
 If you want to use a subdomain to serve the files, uncomment `base_url`, change the url and add a comma after `true` in the previous line.