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 set this in application.rb
config.middleware.insert(0, Rack::ReverseProxy) do
reverse_proxy_options preserve_host: false
reverse_proxy_options replace_response_host: true
reverse_proxy %r{^/blog(/.*)$} , 'http://localhost:8089$1'
end
the initial path works fine, but when I try to navigate to a relative address, the rule is lost and I get the following error.
No route matches [GET] "/ path"
note that it points to the root and not the path established in the rule.
What can I do to solve this?
sorry for my bad English
The text was updated successfully, but these errors were encountered:
I set this in application.rb
config.middleware.insert(0, Rack::ReverseProxy) do
reverse_proxy_options preserve_host: false
reverse_proxy_options replace_response_host: true
reverse_proxy %r{^/blog(/.*)$} , 'http://localhost:8089$1'
end
the initial path works fine, but when I try to navigate to a relative address, the rule is lost and I get the following error.
No route matches [GET] "/ path"
note that it points to the root and not the path established in the rule.
What can I do to solve this?
sorry for my bad English
The text was updated successfully, but these errors were encountered: