V2EX testVmap
 testVmap 最近的时间轴更新
testVmap

testVmap

V2EX 第 211768 号会员,加入于 2017-01-22 10:18:18 +08:00
启动 zabbix 服务卡顿
问与答    testVmap    2018-11-16 19:02:25 PM
keepalived VIP 漂移问题
问与答    testVmap    2018-11-08 15:13:19 PM
nginx 反向代理微信服务器问题
问与答    testVmap    2018-10-22 23:24:30 PM    最后回复来自 testVmap
5
nginx 如何获取真实的 IP
问与答    testVmap    2018-09-18 15:51:35 PM    最后回复来自 testVmap
10
红帽知识库为什么显示不完整
Linux    testVmap    2018-09-09 15:24:54 PM    最后回复来自 testVmap
4
PHP 安全漏洞该如何打补丁
问与答    testVmap    2018-09-08 17:43:39 PM    最后回复来自 testVmap
5
Python 图像识别 如何找出图像的中心点
Python    testVmap    2018-07-09 16:53:58 PM    最后回复来自 testVmap
19
Python 如何在循环内调用随机函数使结果随机
  •  1   
    Python    testVmap    2017-11-03 17:29:06 PM    最后回复来自 hcnhcn012
    6
    testVmap 最近回复了
    2018-10-22 23:24:30 +08:00
    回复了 testVmap 创建的主题 问与答 nginx 反向代理微信服务器问题
    location ^~ /mp/
    {
    #proxy_cache api_cache;
    proxy_set_header Host mp.weixin.qq.com;
    rewrite /mp/(.+)$ /$1 break;
    proxy_pass https://mp.weixin.qq.com;
    }

    最后改成了根据请求路径转发
    2018-09-18 15:51:35 +08:00
    回复了 testVmap 创建的主题 问与答 nginx 如何获取真实的 IP
    感谢大家,最后配置如下
    服务器 A 的转发配置
    location ^~ /namesg/ {
    proxy_pass http://172.16.16.11;
    proxy_set_header Host $http_host;
    proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
    proxy_set_header X-Real-IP $remote_addr;
    }

    服务器 B 的 nginx.conf log 配置

    log_format my_format '$http_x_real_ip -'
    '$remote_addr- [$time_local] "$request" '
    '$status $body_bytes_sent "$http_referer" '
    '"$http_user_agent" "$http_x_forwarded_for"';
    access_log logs/access.log my_format;


    主要是 nginx 日志取消注释后还不能生效,需要改下日志名字
    2018-09-18 14:11:10 +08:00
    回复了 testVmap 创建的主题 问与答 nginx 如何获取真实的 IP
    A 服务器的日志能正常获取到真实 IP
    2018-09-18 14:10:38 +08:00
    回复了 testVmap 创建的主题 问与答 nginx 如何获取真实的 IP
    @lshero 是要怎么配置,要修改 log_format 吗
    2018-09-18 14:02:57 +08:00
    回复了 testVmap 创建的主题 问与答 nginx 如何获取真实的 IP
    A 服务器转发配置
    location ^~ /sogood {
    proxy_pass http://172.16.0.7:81;
    proxy_pass_header Server;
    proxy_set_header Host $http_host;
    proxy_set_header X-Real-IP $remote_addr;
    proxy_set_header X-Scheme $scheme;
    proxy_set_header Cookie $http_cookie;
    proxy_set_header Referer $http_refere;
    proxy_set_header X-Forwarded-For
    $proxy_add_x_forwarded_for;
    #proxy_set_header X-Forwarded-For $remote_addr;
    #proxy_set_header REMOTE-HOST $remote_addr;

    }


    B 服务器转发配置
    location ~ \.php$ {
    proxy_pass http://127.0.0.1;
    proxy_pass_header Server;
    proxy_set_header Host $http_host;
    proxy_set_header X-Real-IP $remote_addr;
    proxy_set_header X-Scheme $scheme;
    proxy_set_header Cookie $http_cookie;
    proxy_set_header Referer $http_refere;
    proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
    }



    加了感觉还是没用
    2018-09-09 15:24:54 +08:00
    回复了 testVmap 创建的主题 Linux 红帽知识库为什么显示不完整
    @xcai 谢谢了
    2018-09-08 17:43:39 +08:00
    回复了 testVmap 创建的主题 问与答 PHP 安全漏洞该如何打补丁
    感谢大家了,升级到最新 5.6.37 搞定了
    2018-09-08 17:41:59 +08:00
    回复了 testVmap 创建的主题 Linux 红帽知识库为什么显示不完整
    @adadada 好的,谢谢了
    2018-07-09 16:53:58 +08:00
    回复了 testVmap 创建的主题 Python Python 图像识别 如何找出图像的中心点
    2018-06-28 08:53:24 +08:00
    回复了 testVmap 创建的主题 Python Python 图像识别 如何找出图像的中心点
    已经实现,用的 opencv 先灰度模糊,再二值化,找到图形轮廓最后确定中心点
    关于     帮助文档     自助推广系统     博客     API     FAQ     Solana     2747 人在线   最高记录 6679       Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 22ms UTC 08:33 PVG 16:33 LAX 01:33 JFK 04:33
    Do have faith in what you're doing.
    ubao snddm index pchome yahoo rakuten mypaper meadowduck bidyahoo youbao zxmzxm asda bnvcg cvbfg dfscv mmhjk xxddc yybgb zznbn ccubao uaitu acv GXCV ET GDG YH FG BCVB FJFH CBRE CBC GDG ET54 WRWR RWER WREW WRWER RWER SDG EW SF DSFSF fbbs ubao fhd dfg ewr dg df ewwr ewwr et ruyut utut dfg fgd gdfgt etg dfgt dfgd ert4 gd fgg wr 235 wer3 we vsdf sdf gdf ert xcv sdf rwer hfd dfg cvb rwf afb dfh jgh bmn lgh rty gfds cxv xcv xcs vdas fdf fgd cv sdf tert sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf shasha9178 shasha9178 shasha9178 shasha9178 shasha9178 liflif2 liflif2 liflif2 liflif2 liflif2 liblib3 liblib3 liblib3 liblib3 liblib3 zhazha444 zhazha444 zhazha444 zhazha444 zhazha444 dende5 dende denden denden2 denden21 fenfen9 fenf619 fen619 fenfe9 fe619 sdf sdf sdf sdf sdf zhazh90 zhazh0 zhaa50 zha90 zh590 zho zhoz zhozh zhozho zhozho2 lislis lls95 lili95 lils5 liss9 sdf0ty987 sdft876 sdft9876 sdf09876 sd0t9876 sdf0ty98 sdf0976 sdf0ty986 sdf0ty96 sdf0t76 sdf0876 df0ty98 sf0t876 sd0ty76 sdy76 sdf76 sdf0t76 sdf0ty9 sdf0ty98 sdf0ty987 sdf0ty98 sdf6676 sdf876 sd876 sd876 sdf6 sdf6 sdf9876 sdf0t sdf06 sdf0ty9776 sdf0ty9776 sdf0ty76 sdf8876 sdf0t sd6 sdf06 s688876 sd688 sdf86