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