You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
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
The text was updated successfully, but these errors were encountered: