https://github.com/mikegleasonjr/devproxy
A local development http proxy with hosts spoofing written in Go
https://github.com/mikegleasonjr/devproxy
development http-proxy local proxy
Last synced: 25 days ago
JSON representation
A local development http proxy with hosts spoofing written in Go
- Host: GitHub
- URL: https://github.com/mikegleasonjr/devproxy
- Owner: mikegleasonjr
- License: mit
- Created: 2017-06-02T18:41:06.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2017-06-03T23:07:04.000Z (almost 8 years ago)
- Last Synced: 2025-03-18T21:52:06.921Z (29 days ago)
- Topics: development, http-proxy, local, proxy
- Language: Go
- Size: 5.86 KB
- Stars: 36
- Watchers: 2
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-network-stuff - **32**星
README
# Introduction
[](https://godoc.org/github.com/mikegleasonjr/devproxy)
## Installation
```
go get github.com/mikegleasonjr/devproxy/cmd/devproxy
```## Configuration example
By default, `devproxy` will look for a config file (`.devproxy.yml`) in the current working directory, then in the home folder.
```yaml
---
bind: 0.0.0.0
port: 8080
debug: truehosts:
- ^api\.website\.dev:80$: localhost:3000
- ^golang\.dev:80$: localhost:6060
```A request to `http://golang.dev/pkg` will proxy the request to `http://localhost:6060/pkg`.
## License
MIT