Skip to content

Instantly share code, notes, and snippets.

@nickgravel
Created July 16, 2023 20:06
Show Gist options
  • Save nickgravel/ba3fa35c4ed7b297e8b1224ecebac17b to your computer and use it in GitHub Desktop.
Save nickgravel/ba3fa35c4ed7b297e8b1224ecebac17b to your computer and use it in GitHub Desktop.
Caddy simple zero downtime reverse proxy config
MYDOMAIN.com {
encode gzip
reverse_proxy 127.0.0.1:3333 {
health_uri /health
lb_try_duration 30s
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment