发布者认证信息(营业执照和身份证)未完善,请登录后完善信息登录
Nginx的405 not allowed错误解决-亿华网
首页 » 资讯 » 编程开发 > Nginx的405 not allowed错误解决

Nginx的405 not allowed错误解决

  发布时间 : 2017-10-06 16:41:17 46
内容提要
html headtitle405NotAllowed/title/head bodybgcolor="white" centerh1405NotAllowed/h1/center hrcenternginx/1.0.11/center /
  1. <html>  
  2. <head><title>405 Not Allowed</title></head>  
  3. <body bgcolor="white">  
  4. <center><h1>405 Not Allowed</h1></center>  
  5. <hr><center>nginx/1.0.11</center>  
  6. </body>  
  7. </html>  


首先看到的页面是nginx返回的页面,得知错误要从nginx上来解决

原来因为这里请求的静态文件采用的是post方法,nginx是不允许post访问静态资源。

很有可能是你的默认首页文件是静态文件


layui

微信扫码关注 亿华联众 公众号

头条推荐