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

peacock nginx-forum at nginx.us
Wed May 27 11:17:49 MSD 2009


When I post when a JavaScript file, "405 not allowed" error will appear.

if use proxy, it can work.

        error_page   405 =200 @405;
        location @405 {
            root  /htdocs;
            proxy_pass   http://localhost:8080;
        }


but I do not want to use proxy, just want to use Nginx, can to achieve it?

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






More information about the nginx mailing list