摘要: 转:https://www.cnblogs.com/wxylog/p/6566163.html 1.关闭vs2015, 这是关键一步, 否则可能一直会不能正常访问 Bad REquest 2. 打开项目目录下的.vs目录, 修改applicationhost.config文件中的内容 3. 找到你的 阅读全文
posted @ 2019-11-05 11:24 悟空一直飞 阅读(649) 评论(0) 推荐(0) 编辑
摘要: 使用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) 编辑