12 lines
257 B
Plaintext
12 lines
257 B
Plaintext
|
require 'geminabox'
|
||
|
require 'rack/session/redis'
|
||
|
|
||
|
Geminabox.data = '/srv/http'
|
||
|
Geminabox.rubygems_proxy = true
|
||
|
Geminabox.allow_remote_failure = true
|
||
|
|
||
|
use Rack::Session::Redis, redis_server: 'redis://redis:6379/2'
|
||
|
use Rack::Protection
|
||
|
|
||
|
run Geminabox::Server
|