logo

pleroma

My custom branche(s) on git.pleroma.social/pleroma/pleroma git clone https://anongit.hacktivis.me/git/pleroma.git/
commit: 2870140db2a38960f000db3889fc1d83843aa015
parent 90e0911cdbc59215e7d6910959abf27ff216e13c
Author: Mark Felder <feld@feld.me>
Date:   Wed, 25 Sep 2024 15:27:30 -0400

The /media route has not existed for some years now

Diffstat:

Minstallation/pleroma.nginx6+++---
1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/installation/pleroma.nginx b/installation/pleroma.nginx @@ -114,8 +114,8 @@ server { # } # Remove this location if you choose to use a dedicated subdomain - # for media and mediaproxy - location ~ ^/(media|proxy) { + # for mediaproxy + location /proxy { proxy_cache pleroma_media_cache; slice 1m; proxy_cache_key $host$uri$is_args$args$slice_range; @@ -190,7 +190,7 @@ server { # allow all; # } # -# location ~ ^/(media|proxy) { +# location /proxy { # proxy_cache pleroma_media_cache; # slice 1m; # proxy_cache_key $host$uri$is_args$args$slice_range;