We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Need a way to turn on verbose mode for debugging like curl -i or curl -v to see what the requests are sending.
curl -i
curl -v
I have
logger.debug request.path logger.debug host logger.debug path reverse_proxy host, path: path do |config| config.on_redirect do |code, response| logger.debug response['location'] render text: "Redirected" return end
And it is redirecting to https://localhost/ for no reason at all!
https://localhost/
/posts https://wordpresssite.com/ category/guides/ https://localhost/category/guides/ Rendered text template (0.0ms)
It works with curl and doesn't redirect. I want to know what it's sending. What is the User-Agent? What is the Referer? Etc.
curl
The text was updated successfully, but these errors were encountered:
Through trial & error, I discovered by adding the following then it worked. But we still need a way to debug.
headers: {'Host' => "wordpresssite.com"}
Sorry, something went wrong.
I'm also trying to figure out why my proxy requests are failing, but I can't find any way to debug this gem.
There's nothing in the logs and I don't know how to turn on debugging if there is such option for this gem?
No branches or pull requests
Need a way to turn on verbose mode for debugging like
curl -i
orcurl -v
to see what the requests are sending.I have
And it is redirecting to
https://localhost/
for no reason at all!It works with
curl
and doesn't redirect. I want to know what it's sending. What is the User-Agent? What is the Referer? Etc.The text was updated successfully, but these errors were encountered: