Last active
September 19, 2024 10:24
-
-
Save wangjiezhe/773192263851d4f6d2fb3353121060e2 to your computer and use it in GitHub Desktop.
Reverse proxy for Google Map using caddy.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
geo.domain.ltd { | |
# cert setting missing | |
handle /vt/* { | |
reverse_proxy mt0.google.com mt1.google.com mt2.google.com mt3.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