How to do HTTP authentication with Goliath/Heroku?
- by David
I'm using Goliath as my app server, and I am trying to convert "Ruby – Secure staging environment of your public app from users and bots" so it applies to my Goliath application.
I am trying to use Rack::Static but I'm not sure how to write the code. I was trying something like:
class Application < Goliath::API
use(Rack::Lock)
But I am not really sure how to translate the link I posted.
I'm open to other alternatives, I just need my whole site password protected.