-
Notifications
You must be signed in to change notification settings - Fork 102
New issue
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
srcache_fetch subrequest return 405 error code. #34
Comments
sorry, my os is CentOS 6.6 64bit
|
@chrisLeeTW "if is evil". Please avoid using the "if" directive in your configuration. See |
@chrisLeeTW Also, the ngx_redis module does not expect a POST method request so you'd better avoid using the POST method in |
Thanks for your advice. I check the ngx_redis source code, And it did not allow the post method. Sorry for the bother. |
Hi, We're running into the issue that I always get resonse from upstream, not from redis cache.
And with some debug info, I found that my srcache_fetch subrequest always return 405 error code.
I using POST method with my request and I got problem. but I got correct response from redis cache with GET method.
Here is my nginx configuration.
And this is my debug info : http://pastebin.com/hbbbNuj5
So Can you confirm is this srcache_fetch bug or just my configuration mistake or misuse?
Thank you.
The text was updated successfully, but these errors were encountered: