有关 try_files 的解释可参见: http://nginx.org/en/docs/http/ngx_http_core_module.html#try_files在 0.7.51 之后,才支持 =404 这样的数字参数,所以请确认你没写错,你的 nginx 版本足够新。
评论
分享到微信
打开微信,点击顶部的“╋”, 使用“扫一扫”将网页分享至微信。