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

https://github.com/dps/redirector

Simple golang service to redirect all urls to another domain
https://github.com/dps/redirector

Last synced: 11 months ago
JSON representation

Simple golang service to redirect all urls to another domain

Awesome Lists containing this project

README

          

# redirector
Simple golang service to redirect all urls to another domain.

Host -> Redirect domain mapping is read from redis on each request, 301 is served.

Set environment variables
```
REDIS_HOST
REDIS_PORT
REDIS_KEY
PORT
```

Set keys
```
{request.domain}:redirect = destination.domain
```