OhMySkills
基础设施与运维 caddy-reverse-proxy 更新于 2026-10-29

Caddy 工程规则

Caddy rules: automatic HTTPS, single 443 owner and validated config reloads

技术栈
Caddy
主题
工程基线
条目
9 条
版本
v0.2.0

✓ 应当这么做

  • ✓ Terminate TLS with automatic certificate management and renewals proven to work
  • ✓ Serve precompressed static assets with long-lived cache headers and hashed names
  • ✓ Keep one reverse proxy as the single ingress owner of port 443

✕ 常见反模式

  • ✕ Manual certificate installs with no renewal reminder
  • ✕ Cache headers that let stale HTML survive deploys
  • ✕ Configuration snippets copied without matching the proxy version

◎ 交付前验证

  • ◎ Certificate chain and expiry verified from an external vantage point
  • ◎ Cache headers inspected on HTML and on hashed assets
  • ◎ Proxy configuration validated before reload, with rollback ready

同分类条目

38 篇

同一技术栈的其他条目