mirror of
https://git.pleroma.social/sjw/pleroma.git
synced 2024-11-15 21:46:23 +01:00
add nginx rewrite rule for mediaproxy
This commit is contained in:
parent
4de7bea00e
commit
672899381c
@ -70,6 +70,8 @@ server {
|
||||
client_max_body_size 16m;
|
||||
}
|
||||
|
||||
rewrite ^/proxy/(.*)/(.*)/.* /proxy/$1/$2 last;
|
||||
|
||||
location ~ ^/(media|proxy) {
|
||||
proxy_cache pleroma_media_cache;
|
||||
proxy_cache_key $host$uri$is_args$args;
|
||||
|
Loading…
Reference in New Issue
Block a user