Skip to content

Simple Sinatra based URL redirector. Not the first; not the last.

License

Notifications You must be signed in to change notification settings

marchinilab/redirector

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Redirect server

Sends a 301 redirect to TARGETHOST. The full path of the request is kept. Only the host is rewritten.

Installation

bundle install

Boot

Redirect port 80 to port 443

TARGETHOST="https://www.google.com" ruby app.rb -p 80 -e production

About

Simple Sinatra based URL redirector. Not the first; not the last.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages