<NME> config.ru
<BEF> # This file is used by Rack-based servers to start the application.

require ::File.expand_path('../config/environment',  __FILE__)
run Clahub::Application
  use Rack::SslEnforcer, :only_environments => ['production'], :except => %r{^/repo_hook}
end

run Clahub::Application

<MSG> Production canonical host www.clahub.com

<DFF> @@ -1,4 +1,5 @@
 # This file is used by Rack-based servers to start the application.
 
 require ::File.expand_path('../config/environment',  __FILE__)
+use Rack::CanonicalHost, ENV['CANONICAL_HOST'] if ENV['CANONICAL_HOST']
 run Clahub::Application

Production canonical host www.clahub.com