From fd9f07e4ade1c2a38cc70bd02035b4fb277798be Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=98zh=E2=80=99?= Date: Fri, 16 Feb 2024 17:08:35 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E4=BB=A3=E7=90=86=20cdn=20?= =?UTF-8?q?=E8=B7=AF=E5=BE=84=EF=BC=8C=E5=8F=AF=E8=83=BD=E4=BC=9A=E9=81=87?= =?UTF-8?q?=E5=88=B0=E9=AA=8C=E8=AF=81=E7=A0=81=E8=B5=84=E6=BA=90=E5=8A=A0?= =?UTF-8?q?=E8=BD=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Caddyfile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Caddyfile b/Caddyfile index 3aa13ef3..2830eff2 100644 --- a/Caddyfile +++ b/Caddyfile @@ -10,6 +10,11 @@ reverse_proxy localhost:8000 } + handle_path /cdn/* { + rewrite * /api/arkose/p/cdn{path} + reverse_proxy localhost:8000 + } + handle_path /fc/* { rewrite * /api/arkose/p/fc{path} reverse_proxy localhost:8000