mirror of
https://github.com/psviderski/uncloud.git
synced 2026-08-26 11:03:34 +00:00
website: send Hub early access form submission to posthog
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user