centos nginx thinksns3.0伪静态配置方法

centos nginx thinksns3.0伪静态配置方法

找到nginx的配置文件,本服务器环境为nginx自行搭建,如果是lnmp集成包的请酌情按照自己的情况修改。修改任何内容前,记得备份。

修改etc/nginx/conf.d/default.conf

在默认文档下面引入写好的nginx.conf文件.

include /var/www/html/URLRewrite/nginx.conf;

重启nginx服务 service nginx restart

 
如果没有nginx.conf 在这个网址下面去转换一下.htaccess文件即可!
http://www.anilcetin.com/convert-apache-htaccess-to-nginx/

One thought on “centos nginx thinksns3.0伪静态配置方法

回复 沃乐 取消回复

您的电子邮箱地址不会被公开。 必填项已用 * 标注

此站点使用Akismet来减少垃圾评论。了解我们如何处理您的评论数据