Skip to content

Commit

Permalink
添加代理 cdn 路径,可能会遇到验证码资源加载
Browse files Browse the repository at this point in the history
  • Loading branch information
‘zh’ committed Feb 16, 2024
1 parent 87f7539 commit fd9f07e
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Caddyfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit fd9f07e

Please sign in to comment.