在现有的nginx基础上增加新的第三方模块(echo)
systemctl stop nginx
上传echo
解压
make && make install
验证
地址重写
rewrite语句
访问 http://www.testpm.com/a/1.html ==> http://www.testpm.com/b/2.html
准备网站发布目录和
vi
重启
http://www.testpm.com/2019/a/1.html ==> http://www.testpm.com/2018/a/1.html