How to do HTTP authentication with Goliath/Heroku?
Posted
by
David
on Stack Overflow
See other posts from Stack Overflow
or by David
Published on 2012-08-09T22:34:41Z
Indexed on
2012/09/12
3:38 UTC
Read the original article
Hit count: 506
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.
© Stack Overflow or respective owner