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

fernandokosh Wrote:

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:

Hi,
In all the above posts a code snippet has been given to rectify the
405 error. But i wondering where exactly that code snippet has to be
added(i mean in which file of the server box). If anyone can explain a
bit elaborately, i would be grateful.

Thanks and Regards,
Nagender