Proxies requests to the Segment CDN and Tracking API. You can run this in your infrastructure (or use it as a reference implementation) and point your clients to use this proxy instead of api.segment.io or cdn.segment.com directly.
Usage of proxy:
-debug
debug mode
-port string
bind address (default "8080")
- Clone the repo
git clone [email protected]:segmentio/segment-proxy.git. - Run
make build server.
- Run
go get github.com/segmentio/segment-proxy. - Run
segment-proxy.
Download the latest binaries from Github.
- Run
docker run --publish 8080:8080 segment/proxy.