Files
HookPilot/deploy/Caddyfile.example
2026-09-27 20:09:10 +08:00

17 lines
299 B
Caddyfile

# Caddy 反向代理示例:/etc/caddy/Caddyfile
# Caddy 会自动申请并续期 HTTPS 证书
hooks.example.com {
request_body {
max_size 2MB
}
reverse_proxy 127.0.0.1:8787 {
# 同步模式会等待脚本执行结束
transport http {
read_timeout 600s
write_timeout 600s
}
}
}