Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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: 17 days 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 (over 7 years ago)
- Default Branch: master
- Last Pushed: 2022-01-11T15:25:16.000Z (almost 3 years ago)
- Last Synced: 2024-04-20T06:21:14.191Z (8 months 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
[![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`)