Skip to content

Instantly share code, notes, and snippets.

@Laforeta
Created May 10, 2018 10:24
Show Gist options
  • Save Laforeta/b89033552fb9dfc2928fb7faee6ddb87 to your computer and use it in GitHub Desktop.
Save Laforeta/b89033552fb9dfc2928fb7faee6ddb87 to your computer and use it in GitHub Desktop.
Simple caddyfile example with forward proxy
https://$domain:$port {
gzip
log /var/log/caddy.log
tls $email
forwardproxy {
basicauth $user $passwd
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment