Files
waoowaoo/caddyfile

19 lines
561 B
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# HTTPS 反向代理(在主机上运行,非 Docker 内)
# 启动方式: caddy run --config Caddyfile
#
# 用法:
# 1. docker compose up -d (启动 App + MySQL + Redis)
# 2. caddy run --config Caddyfile (启动 HTTPS 代理)
# 3. 打开 https://localhost:4443 或 https://your-ip:4443
#
# 修改下方 IP 为你的局域网 IPifconfig en0 查看)
localhost:1443, https://192.168.31.218:1443 {
handle /admin/queues* {
reverse_proxy localhost:13010
}
handle {
reverse_proxy localhost:13000
}
tls internal
}