Skip to content

Instantly share code, notes, and snippets.

@bibicadotnet
Created November 15, 2023 11:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bibicadotnet/5b4130ddea8b03992458e37353a64916 to your computer and use it in GitHub Desktop.
Save bibicadotnet/5b4130ddea8b03992458e37353a64916 to your computer and use it in GitHub Desktop.
Caddy Reverse Proxy - Avatar Gravatar
avatar.bibica.net {
tls /etc/ssl/bibica.net.pem /etc/ssl/bibica.net.key
handle_path /* {
rewrite * /avatar{uri}
reverse_proxy https://www.gravatar.com {
header_up Host {upstream_hostport}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment