Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/valloric/markovic.io-redirect

Rack app to redirect markovic.io to val.markovic.io
https://github.com/valloric/markovic.io-redirect

Last synced: 30 days ago
JSON representation

Rack app to redirect markovic.io to val.markovic.io

Awesome Lists containing this project

README

        

Runs a redirect service to val.markovic.io. Both www.markovic.io and markovic.io
(the zone apex) have A records pointing to heroku's static IP's. This will route
any incoming request to this app which will redirect users to val.markovic.io.

- heroku create
- git push heroku master
- heroku domains:add example.com
- curl -D - -H "Host: example.com" proxy.heroku.com

HTTP/1.1 301 Moved Permanently
Server: nginx
Date: Fri, 20 Apr 2012 17:06:08 GMT
Content-Type: text/html
Connection: keep-alive
Location: http://val.markovic.io/
Content-Length: 95
X-Varnish: 459303571
Age: 0
Via: 1.1 varnish

Click here if you are not redirected.

---