Skip to content

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

@Etienne-C

Description

@Etienne-C

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions