Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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: 3 months 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 (over 7 years ago)
- Default Branch: master
- Last Pushed: 2017-06-03T23:07:04.000Z (over 7 years ago)
- Last Synced: 2024-10-14T07:24:57.512Z (4 months ago)
- Topics: development, http-proxy, local, proxy
- Language: Go
- Size: 5.86 KB
- Stars: 35
- Watchers: 3
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-network-stuff - **32**星
README
# Introduction
[![GoDoc](https://godoc.org/github.com/mikegleasonjr/devproxy?status.svg)](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