运维
未读
Nginx配置隐藏Url后缀
在nginx配置文件.conf中添加: 隐藏.html后缀 location / {
if (!-e $request_filename){
rewrite ^(.*)$ /$1.html last;
break;
}