Files
sub-store/bridge-proxy/README.md
T
2026-07-28 22:49:28 +08:00

631 B

Bridge Proxy

Small Go transparent proxy for subscription links blocked by client IP region.

Run

BRIDGE_TOKEN=your-token go run .

Request format:

http://host:8080/your-token?url=https%3A%2F%2Fsub.sslinks.co.in%2Fem9knZQ6ximoi9hhnKzJT3FayVZSb2PxKmPWzhzk%3Ftoken%3Da8483f280b990786fe607e04d2724dd2

The service forwards the request to url, returns the upstream status, response headers, and body, and strips client IP forwarding headers before sending the upstream request.

Docker

docker build -t bridge-proxy .
docker run --rm -p 8080:8080 -e BRIDGE_TOKEN=your-token bridge-proxy