摘要: 使用vi编辑~/.vimrc文件,在该文件中加入一行"set nu",添加内容不含引号, 命令如下:vi ~/.vimrc //卸载yum remove nginx //安装nginxwget http://nginx.org/download/nginx-1.17.0.tar.gztar -zxv 阅读全文
posted @ 2019-11-01 13:51 悟空一直飞 阅读(184) 评论(0) 推荐(0) 编辑
摘要: //location ~ /test/(.*) 这样可以通过变量的方法获取后面的uri中指定的地址 set $para1 $1; $para1 location ~ /test/(.*){ set $foo hello; echo "test test test"; echo "foo: $foo" 阅读全文
posted @ 2019-11-01 13:45 悟空一直飞 阅读(1573) 评论(0) 推荐(0) 编辑