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