Skip to content

Proxies requests to the Segment CDN and Tracking API.

Notifications You must be signed in to change notification settings

pacerevenue/segment-proxy

 
 

Repository files navigation

segment-proxy

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.

CLI

Usage of proxy:
  -debug
        debug mode
  -port string
        bind address (default "8080")

Usage

Via Source

  1. Clone the repo git clone git@github.com:segmentio/segment-proxy.git.
  2. Run make build server.

Via Golang

  1. Run go get github.com/segmentio/segment-proxy.
  2. Run segment-proxy.

Via prebuilt binaries.

Download the latest binaries from Github.

Via Docker

  1. Run docker run --publish 8080:8080 segment/proxy.

Library Instructions

About

Proxies requests to the Segment CDN and Tracking API.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Go 92.9%
  • Makefile 6.3%
  • Dockerfile 0.8%