website: send Hub early access form submission to posthog

This commit is contained in:
Pasha Sviderski
2026-07-09 18:56:46 +10:00
parent e684795aee
commit f8e6d1caaa
5 changed files with 137 additions and 12 deletions
+14
View File
@@ -3,6 +3,20 @@
}
:8000 {
# Reverse proxy PostHog through our own domain so ad blockers don't drop analytics requests.
# Static assets (e.g. array.js) are served from a separate PostHog assets host.
handle_path /phproxy/static/* {
rewrite * /static{uri}
reverse_proxy https://us-assets.i.posthog.com {
header_up Host us-assets.i.posthog.com
}
}
handle_path /phproxy/* {
reverse_proxy https://us.i.posthog.com {
header_up Host us.i.posthog.com
}
}
root * /usr/share/caddy
file_server
log