Skip to content

Instantly share code, notes, and snippets.

@parterburn
Last active August 29, 2015 14:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save parterburn/67e27d302b79d70272c1 to your computer and use it in GitHub Desktop.
Save parterburn/67e27d302b79d70272c1 to your computer and use it in GitHub Desktop.
# This file is used by Rack-based servers to start the application.
require ::File.expand_path('../config/environment', __FILE__)
use Rack::ReverseProxy do
reverse_proxy /^\/blog(\/.*)$/, 'http://brandfolder.flywheelsites.com$1', :username => 'flywheel', :password => 'fill-me-in', :timeout => 500, :preserve_host => true
end
run Boulder::Application
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment