Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/rumyantseva/simple-redirect

Make a redirect from your domain using Heroku
https://github.com/rumyantseva/simple-redirect

forwarding go golang heroku redirect

Last synced: 26 days ago
JSON representation

Make a redirect from your domain using Heroku

Awesome Lists containing this project

README

        

[![Go Report Card](https://goreportcard.com/badge/github.com/rumyantseva/simple-redirect)](https://goreportcard.com/report/github.com/rumyantseva/simple-redirect)

# simple-redirect

This simple app allows to set redirect rule for the website.

[![Deploy](https://www.herokucdn.com/deploy/button.svg)](https://heroku.com/deploy?template=https://github.com/rumyantseva/simple-redirect&env[TO]=https://google.com&env[TYPE]=301)

For example, you may deploy it to Heroku with the necessary rules,
set a custom domain and enjoy the redirect from your domain.

Possible env variables:

- `TO` - where to redirect (e.g. `https://google.com`)
- `TYPE` - type of redirect (e.g. `301`)