使用tengine代替Nginx
有了nginx,为什么还要用tengine? 因为: #下载 https://tengine.taobao.org/ wget https://tengine.taobao.org/download/tengine-3.0.0.tar.gz tar -zxvf tengine-3.0.0.tar.gz cd tengine-3.0.0 #安装依赖 yum install pcre-devel yum -y install openssl openssl-devel ./configure --add-module=modules/ngx_http_upstream_check_module #./configure --add-module=./nginx_upstream_check_module --with-http_ssl_module --with-http_v2_module --with-stream --with-http_gz...
nginx添加nginx_upstream_check_module
#cd nginx source folder cd /usr/local/nginx/nginx-1.18.0 wget https://github.com/yaoweibin/nginx_upstream_check_module/archive/refs/heads/master.zip unzip master.zip mkdir nginx_upstream_check_module mv nginx_upstream_check_module/* ./nginx_upstream_check_module/ ./configure --add-module=./nginx_upstream_check_module #if need ssl #./configure --add-module=./nginx_upstream_check_module --with-http_ssl_module #backup old nginx file mv /usr/local/n...
调用企微接口报403 API Forbiden 无权限 的错误
https://work.weixin.qq.com/wework_admin/frame#/customer/analysis 需要修改应用权限 :
github连接超时:Connection closed by remote host
git pull 或者git push的时候,提示: kex_exchange_identification: Connection closed by remote host Connection closed by 127.0.0.1 port 22 fatal: Could not read from remote repository. Please make sure you have the correct access rights 使用命令:ssh -T git@github.com 检测 如果测试成功,请关闭代理试试,如果测试失败,请向下配置: 将ssh的22端口改为使用443 在等待git pull命令超时之后报出了类似: ssh: connect to host github.com port 22: Connection timed out的错误! 原因是: s...