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: 8 months ago
JSON representation
Make a redirect from your domain using Heroku
- Host: GitHub
- URL: https://github.com/rumyantseva/simple-redirect
- Owner: rumyantseva
- License: mit
- Created: 2017-07-10T00:48:40.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2022-01-11T15:25:16.000Z (over 4 years ago)
- Last Synced: 2024-04-20T06:21:14.191Z (about 2 years ago)
- Topics: forwarding, go, golang, heroku, redirect
- Language: Go
- Homepage:
- Size: 6.84 KB
- Stars: 1
- Watchers: 1
- Forks: 19
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[](https://goreportcard.com/report/github.com/rumyantseva/simple-redirect)
# simple-redirect
This simple app allows to set redirect rule for the website.
[](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`)