Skip to content

A local development http proxy with hosts spoofing written in Go

License

Notifications You must be signed in to change notification settings

mikegleasonjr/devproxy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Introduction

GoDoc

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.

---
bind: 0.0.0.0
port: 8080
debug: true

hosts:
  - ^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

About

A local development http proxy with hosts spoofing written in Go

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages