telnet *.*.*.* 80
POST /map/navigation/2011winter/jsn/jsn_20120723_pack/pvf.jsnHTTP/1.1Host:*.*.*.* (2个回车)HTTP/1.1 405 Not AllowedServer: MapbarServerDate: Mon, 08 Oct 2012 05:34:53 GMTContent-Type: text/htmlContent-Length: 173Connection: keep-alive<html><head><title>405 Not Allowed</title></head><body bgcolor="white"><center><h1>405 Not Allowed</h1></center><hr><center>MapbarServer</center></body></html>经查发现:NGINX不允许向静态文件提交POST方式的请求,否则报405错误解决办法:1.在nginx vhosts配置文件中增加如下error_page 405 =200 @405; location @405 { root /mapdata/www/datamobile/; proxy_method GET; proxy_pass ; }