require 'sidekiq'

Sidekiq.configure_client do |config|
  config.redis = { :size => 1 }
end

require 'sidekiq/web'
use Rack::Session::Cookie, :secret => ENV.fetch('SESSION_SECRET_KEY')
run Sidekiq::Web

require 'sidekiq'

Sidekiq.configure_client do |config|
  config.redis = { :size => 1 }
end

require 'sidekiq/web'
use Rack::Session::Cookie, :secret => ENV.fetch('SESSION_SECRET_KEY')
run Rack::URLMap.new('/sidekiq' => Sidekiq::Web)

Change the path the stand-alone sidekiq admin runs on to /sidekiq
Change the path the stand-alone sidekiq admin runs on to /sidekiq

Changing this path is easier than messing around with lots of nginx
rules
