From 2870140db2a38960f000db3889fc1d83843aa015 Mon Sep 17 00:00:00 2001 From: Mark Felder Date: Wed, 25 Sep 2024 15:27:30 -0400 Subject: [PATCH] The /media route has not existed for some years now --- installation/pleroma.nginx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/installation/pleroma.nginx b/installation/pleroma.nginx index 093c4de43..5d547729a 100644 --- 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;