Skip to content

Instantly share code, notes, and snippets.

@WNut42
Created August 9, 2013 05:36
Show Gist options
  • Save WNut42/6191401 to your computer and use it in GitHub Desktop.
Save WNut42/6191401 to your computer and use it in GitHub Desktop.
geminabox with http basic auth 1
require "rubygems"
require "geminabox"
Geminabox.data = "/var/geminabox-data" # …or wherever
use Rack::Auth::Basic, "GemInAbox" do |username, password|
'your massively secure password' == password
end
run Geminabox
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment