Skip to content

Instantly share code, notes, and snippets.

@wangjiezhe
Created June 12, 2024 03:09
Show Gist options
  • Save wangjiezhe/773192263851d4f6d2fb3353121060e2 to your computer and use it in GitHub Desktop.
Save wangjiezhe/773192263851d4f6d2fb3353121060e2 to your computer and use it in GitHub Desktop.
Reverse proxy for Google Map using caddy.
geo.domain.ltd {
# cert setting missing
handle /vt/* {
reverse_proxy mt0.google.com {
header_up Host {upstream_hostport}
}
}
handle {
respond 404
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment