Skip to content

Instantly share code, notes, and snippets.

@kbighorse
Created September 26, 2012 20:57
Show Gist options
  • Select an option

  • Save kbighorse/3790540 to your computer and use it in GitHub Desktop.

Select an option

Save kbighorse/3790540 to your computer and use it in GitHub Desktop.
# development.rb
...
config.middleware.use(Rack::ReverseProxy) do
reverse_proxy_options :preserve_host => true
reverse_proxy '/blog', 'http://bighorse.net'
end
...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment