浏览代码

Merge branch 'add-media-path-to-caddy-cache' into 'develop'

Add /media to Caddy cache

See merge request pleroma/pleroma!791
tags/v1.1.4
lambda 5 年前
父节点
当前提交
99fd199bda
共有 1 个文件被更改,包括 5 次插入0 次删除
  1. +5
    -0
      installation/caddyfile-pleroma.example

+ 5
- 0
installation/caddyfile-pleroma.example 查看文件

@@ -24,6 +24,11 @@ example.tld {
# If you do not want to use the mediaproxy function, remove these lines.
# To use this directive, you need the http.cache plugin for Caddy.
cache {
match_path /media
default_max_age 720m
}

cache {
match_path /proxy
default_max_age 720m
}


正在加载...
取消
保存