Skip to content

Redirect Service is a low latency solution built on Cowboy and Redis to redirect client requests to other domains and/or urls centrally.

License

Notifications You must be signed in to change notification settings

fleximus/redirect_service

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Redirect Service

Redirect Service is a low latency solution built on Cowboy and Redis to redirect client requests to other domains and/or urls centrally.

To compile this project you need rebar in your PATH.

Type the following command:

$ make

You can then start the Erlang node with the following command:

./start.sh

To create a sample JSON dataset in Redis use the following command:

./redis-cli
set "redirect:localhost" '{"Code": "301", "Destination": "http://fleximus.org/projects/redirect_service/"}'

To test the redirect use curl:

curl -I /dev/stdout http://localhost:8080

About

Redirect Service is a low latency solution built on Cowboy and Redis to redirect client requests to other domains and/or urls centrally.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published