Skip to content

Latest commit

 

History

History
39 lines (26 loc) · 684 Bytes

README.md

File metadata and controls

39 lines (26 loc) · 684 Bytes

Redirect Server

Install:

See releases or build repo using make build or make builddev

TODO:

  • Use CI for github releases for multiple targets
  • Make go get work to fetch the command (I'm new to go so if people start caring about this project I'll take things further)

Usage:

redirect-server --manifest manifest.yml

manifest.yml

---
options:
	# Will redirect all http request to HTTPS
  enforcehttps: true

redirects:
  - host: myoldsite.com
    target: https://mynewsite.com/

  - host: localhost:3000
    path: '*/blah'
    target: http://fixate.it/$1

TODO:

  • Tests