The /media route has not existed for some years now
This commit is contained in:
parent
90e0911cdb
commit
2870140db2
1 changed files with 3 additions and 3 deletions
|
|
@ -114,8 +114,8 @@ server {
|
||||||
# }
|
# }
|
||||||
|
|
||||||
# Remove this location if you choose to use a dedicated subdomain
|
# Remove this location if you choose to use a dedicated subdomain
|
||||||
# for media and mediaproxy
|
# for mediaproxy
|
||||||
location ~ ^/(media|proxy) {
|
location /proxy {
|
||||||
proxy_cache pleroma_media_cache;
|
proxy_cache pleroma_media_cache;
|
||||||
slice 1m;
|
slice 1m;
|
||||||
proxy_cache_key $host$uri$is_args$args$slice_range;
|
proxy_cache_key $host$uri$is_args$args$slice_range;
|
||||||
|
|
@ -190,7 +190,7 @@ server {
|
||||||
# allow all;
|
# allow all;
|
||||||
# }
|
# }
|
||||||
#
|
#
|
||||||
# location ~ ^/(media|proxy) {
|
# location /proxy {
|
||||||
# proxy_cache pleroma_media_cache;
|
# proxy_cache pleroma_media_cache;
|
||||||
# slice 1m;
|
# slice 1m;
|
||||||
# proxy_cache_key $host$uri$is_args$args$slice_range;
|
# proxy_cache_key $host$uri$is_args$args$slice_range;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue