02 2022 档案

摘要:一: 下载安装的包 https://cmake.org/files 二: 安装编译环境 yum install gcc gcc-c++ make automake 三: 安装 wget https://cmake.org/files/v3.20/cmake-3.20.0.tar.gz tar -xf 阅读全文
posted @ 2022-02-21 20:17 aitansi 阅读(1218) 评论(0) 推荐(0)
摘要:使用CloudFlare后nginx无法获取用户的真实IP,获取到的全是CloudFlare的IP。 设置方法: 在nginx配置文件http段配置 set_real_ip_from 0.0.0.0/0; real_ip_header X-Forwarded-For; 然后重新加载nginx配置即可 阅读全文
posted @ 2022-02-19 23:12 aitansi 阅读(2179) 评论(0) 推荐(0)