瀏覽代碼

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
}


Loading…
取消
儲存