A lightweight and high-performance reverse proxy written in Go, built for speed, observability, and reliability.
- ⚡ Optimized HTTP transport (connection pooling, timeouts)
- 🧠 Structured logging with Zap
- 🧱 Middlewares: Logging, Recovery, CORS, Metrics
- 📊 Prometheus metrics at
/metrics - 🔒 Error handling and safe panic recovery
- Go 1.21+
- A valid
config.yamlfile in./config/
Example config/config.yaml:
server:
port: 8080
target: "https://example.com"
logging:
level: "info"
git clone https://github.com/yourusername/proxy-web-go.git
cd proxy-web-go
go mod tidy
go run ./cmd/proxy