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

goldenaxez nginx-forum at nginx.us
Thu Mar 29 20:25:35 UTC 2012


fernandokosh Wrote:
-------------------------------------------------------
> I have the same issue here running Rails 2 apps
> virtual hosts on Debian Squeeze.
> In my case I, the error occur when I perform
> update with the PUT method.
> That's solve my problem:
> 
> location / {
> error_page 405 = $uri;
> try_files $uri @unicorn_app;
> }
> 
> Thank you!

Hello fernandokosh,
Thank you for your post. I tried really works.But this time I'm getting
a 500 internal server error. My site not open the directly.
I have to open www.vantila.com/index.html.

Posted at Nginx Forum: http://forum.nginx.org/read.php?2,2414,224626#msg-224626



More information about the nginx mailing list