/takanawa

Primary LanguageGoMIT LicenseMIT

高輪 − Takanawa

GitHub Actions Docker Cloud Build Status codecov

Takanawa is a reverse proxy for HTTP services for development.

Usage

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.

Requirements

  • Go 1.11+

Installation

$ go get -u github.com/kou64yama/takanawa

Docker

$ docker run -p 5000:5000 kou64yama/takanawa --access-log=common \
    http://localhost:3000 --change-origin \
    http://localhost:8080/v1 --change-origin --path=/api

License

Copyright 2020 Yamada Koji. This source code is licensed under the MIT license.