Now hosted by heroku

Host static website on Heroku

Now on Heroku

I now changed my hosting to Heroku. I believe it will be far more reliable.

But as you should know my website is completely static. I use nanoc to generate it. But here is the conf to make it work on heroku.

The root of my files is /output. You only need to create a config.ru1 file:

and the .gems file needed to install rack middlewares.

Now, just follow the heroku tutorial to create an application :

Now I’ll should be able to redirect properly to my own 404 page for example. I hope it is helpful.


  1. I was inspired by this article.

Comments

comments powered by Disqus