Skip to content
New issue

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

Not Found The requested URL /blog/ was not found on this server. #57

Open
Etienne-C opened this issue Jul 26, 2017 · 0 comments
Open

Not Found The requested URL /blog/ was not found on this server. #57

Etienne-C opened this issue Jul 26, 2017 · 0 comments

Comments

@Etienne-C
Copy link

Etienne-C commented Jul 26, 2017

I installed the gem and add this code in my config/application.rb

class Application < Rails::Application
config.middleware.insert(0, Rack::ReverseProxy) do
reverse_proxy_options preserve_host: true
reverse_proxy /^/blog(/?.*)$/, 'http://exemple.com'
end
end

When I visit the page "mysite.com/blog" this message appear: "Not Found The requested URL /blog/ was not found on this server."

Any idea? (My site is hosted on Heroku)
Thx

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant