We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi, I'm using this project to redirect requests in an existing heroku app that has been moved to a more powerful cluster.
Redirects occur fine but I need one of the headers that the devices are sending to heroku, to be sent to the cluster where the proxy is pointing at.
(I'm not a ruby dev so please bear with me)
config.ru (if it helps)
require 'rack/reverse_proxy' use Rack::ReverseProxy do reverse_proxy_options :preserve_host => true reverse_proxy '/', 'http://example.com' end app = proc do |env| [ 200, {'Content-Type' => 'application/json'}, "b" ] end run app
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hi, I'm using this project to redirect requests in an existing heroku app that has been moved to a more powerful cluster.
Redirects occur fine but I need one of the headers that the devices are sending to heroku, to be sent to the cluster where the proxy is pointing at.
(I'm not a ruby dev so please bear with me)
config.ru (if it helps)
The text was updated successfully, but these errors were encountered: