mogeneration/geminabox — comment on commit 65caff211811b279f77d48dd00f0923735e7fe70
File:  line 0
By cwninja:

FYI, you can just use Rack::Auth::Basic in either your config.ru, or in the gem itself.

E.g.

```ruby
use Rack::Auth::Basic do |username, password|
username== ENV['GEMINABOX_USERNAME'] && password== ENV['GEMINABOX_PASSWORD']
end
```

That's why I've never rolled auth into the server, that and because it's often better handled by the web server.