Skip to content

Keep getting 404 #5

@royzinn

Description

@royzinn

Hi and thanks for sharing this gem.
I have followed the instructions, trying to make my site weski.co.il/blog to reverse-proxy our WP which is hosted on different url.
my current controller action looks like this:

reverse_proxy "http://roy.zebra-media.co.il/", path: params[:path] ,username: 'xxx', password: 'xxxxxxxxxxxx' do |config|
  config.on_missing do |code, response|
    redirect_to root_path and return
  end
end

It keeps redirecting me to root_path no matter what valid blog path I provide it.
Any ideas what can it be?

Thanks!

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