# The site, watch pages and uploads go to intake; everything else (the clips themselves, /dashboard, /api) to Zipline. {$SITE_DOMAIN} { @intake { path / /v/* /_site/* } @upload { method POST path /upload } handle @intake { reverse_proxy intake:8000 { # intake trusts this header for the login rate limit; only Cloudflare may set it header_up -Cf-Connecting-Ip } } handle @upload { reverse_proxy intake:8000 { header_up -Cf-Connecting-Ip } } handle { reverse_proxy zipline:3000 } }