Takanawa is a reverse proxy for HTTP services for development.
For example, execute the following command to proxy /
to UI server
and /api
to the API server:
$ takanawa --access-log=common \
http://localhost:3000 --change-origin \
http://localhost:8080/v1 --change-origin --path=/api
Takanawa runs on port 5000.
- Go 1.11+
$ go get -u github.com/kou64yama/takanawa
$ docker run -p 5000:5000 kou64yama/takanawa --access-log=common \
http://localhost:3000 --change-origin \
http://localhost:8080/v1 --change-origin --path=/api
Copyright 2020 Yamada Koji. This source code is licensed under the MIT license.