How to solve the problem of "405 not allowed"?

fernandokosh nginx-forum at
Tue Jan 3 16:59:52 UTC 2012

I have the same issue here running Rails 2 apps virtual hosts on Debian
In my case I, the error occur when I perform update with the PUT
That's solve my problem:

location / {
error_page 405 = $uri;
try_files $uri @unicorn_app;

Thank you!

Posted at Nginx Forum:,2414,220771#msg-220771

More information about the nginx mailing list