@ -2,7 +2,7 @@
root * /data/dist
handle_path /stage-api/* {
rewrite * /{path}
uri strip_prefix /stage-api
# 需要代理到的IP以及端口号
reverse_proxy ruoyi-admin:8080
}
@ -9,7 +9,7 @@ services:
environment:
TZ: Asia/Shanghai
volumes:
# - /etc/localtime:/etc/localtime:ro
- /etc/localtime:/etc/localtime:ro
- ./conf:/etc/caddy
- config:/config
- data:/data