release: opensource snapshot 2026-02-27 19:25:00
This commit is contained in:
19
caddyfile
Normal file
19
caddyfile
Normal file
@@ -0,0 +1,19 @@
|
||||
# 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
|
||||
}
|
||||
Reference in New Issue
Block a user