Categorygithub.com/zachcheung/corsproxy
repositorypackage
1.1.0
Repository: https://github.com/zachcheung/corsproxy.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# README

corsproxy

corsproxy is yet another CORS proxy written in Go, designed to bypass CORS restrictions when making requests from web applications.

Features

  • Private Network Targets Disallowed: By default, corsproxy disallows private network targets to enhance security.
  • Configurable Allowed Targets: You can configure the allowed targets to specify which domains are allowed to be accessed through the proxy.

Installation

docker pull ghcr.io/zachcheung/corsproxy
  • go install
go install github.com/zachcheung/corsproxy/cmd/corsproxy@latest

Usage

corsproxy -allowedTargets "https://*.example.com,http://ip.me"

Please refer to rs/cors for detailed information on CORS-related options.

Request examples:

  • http://localhost:8000/http://ip.me

License

MIT