Created
August 9, 2013 05:36
-
-
Save WNut42/6191401 to your computer and use it in GitHub Desktop.
geminabox with http basic auth 1
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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