fix(doc) caddy config

approve-sys
bob 2 years ago
parent 7b2489a866
commit 257297253c

@ -6,6 +6,7 @@
:8300 {
encode zstd gzip
# 优先处理后端请求
handle_path /stage-api/* {
import CORS
uri strip_prefix /stage-api

@ -1,4 +1,5 @@
## 解决验证码图片加载失败(后端接口请求错误路由到前端资源)
handle_path /stage-api/handle配置顺序说明
https://caddy.community/t/caddy-with-vue-router/12352/2
Loading…
Cancel
Save