19 lines
561 B
Plaintext
19 lines
561 B
Plaintext
# 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 为你的局域网 IP(ifconfig en0 查看)
|
||
|
||
localhost:1443, https://192.168.31.218:1443 {
|
||
handle /admin/queues* {
|
||
reverse_proxy localhost:13010
|
||
}
|
||
handle {
|
||
reverse_proxy localhost:13000
|
||
}
|
||
tls internal
|
||
} |