Hello!
On Wed, Apr 30, 2014 at 3:24 AM, 'Konstantin Ivanov' via openresty-en wrote:
> I've updated to openresty 1.5.11.1 yesterday, and suddenly I started to
> receive 405 Not allowed response on all of the POST requests. I had nginx
> setup to proxy requests to node.js API and it worked just fine with previous
> version of openresty (1.4.3.9) and now none of those requests work. I can't
> figure out the reason and was not able to find any information on it, or
> problems with upgrades. Can someone help please?
>
You provided too little information that is not really helpful for
analysis. Will you prepare a minimal and complete example that can
reproduce the issue you're seeing on our side?
One possible cause is that ngx_proxy module changes its way to handle
URL forwarding to the remote in recent versions of nginx. So better
(temporarily) enable the nginx debug logging in your nginx and check
the raw request header sent by ngx_proxy in nginx's error log file
(see http://nginx.org/en/docs/debugging_log.html for details). Maybe
you need "rewrite" directive to adjust the current request URI in your
location configured by proxy_pass.
BTW, please join the list before posting otherwise your posts always
require manual moderation.
Best regards,
-agentzh