Fix redirect setting not working
authoraries <aries@asterism.xyz>
Thu, 18 Jul 2019 12:08:31 +0000 (21:08 +0900)
committeraries <aries@asterism.xyz>
Thu, 18 Jul 2019 12:08:31 +0000 (21:08 +0900)
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.