haproxy 中的http请求和https请求
2024-09-30 06:15:40
use Mojolicious::Lite;
use JSON qw/encode_json decode_json/;
use Encode;
no strict;
use JSON; # /foo?user=sri
get '/admin/api/menu' => sub {
my $c = shift; $c->render(text => "welcome wx3" );
}; app->start; 访问: http://120.55.1xx.6:3000/admin/api/menu acl admin_req path_beg -i /admin
use_backend appserver_3000 if admin_req http://www.zjtest6.com/admin/api/menu Jun 24 11:37:19 localhost haproxy[23144]: 192.168.33.29:57999 [24/Jun/2016:11:37:19.866] www appserver_3000/webhost01_8001 0/0/6/11/17 200 154 - - ---- 0/0/0/0/0 0/0 "GET /admin/api/menu HTTP/1.1"
Jun 24 11:37:19 localhost haproxy[23144]: 192.168.33.29:58000 [24/Jun/2016:11:37:19.968] www webserver_8001/webhost01_8001 4/0/0/1/5 404 317 - - ---- 0/0/0/0/0 0/0 "GET /favicon.ico HTTP/1.1"
Jun 24 11:37:19 localhost haproxy[23144]: 192.168.33.29:58001 [24/Jun/2016:11:37:19.991] www webserver_8001/webhost01_8001 0/0/0/0/0 404 317 - - ---- 0/0/0/0/0 0/0 "GET /favicon.ico HTTP/1.1"
Jun 24 11:37:27 localhost haproxy[23144]: 192.168.33.29:58007 [24/Jun/2016:11:37:27.188] www appserver_3000/webhost01_8001 0/0/6/8/14 200 154 - - ---- 0/0/0/0/0 0/0 "GET /admin/api/menu HTTP/1.1"
Jun 24 11:37:41 localhost haproxy[23144]: 192.168.33.29:58031 [24/Jun/2016:11:37:41.334] www webserver_8001/webhost01_8001 1/0/0/1/2 404 719 - - ---- 0/0/0/0/0 0/0 "GET /favicon.ico HTTP/1.1"
Jun 24 11:37:42 localhost haproxy[23144]: 192.168.33.29:58035 [24/Jun/2016:11:37:42.250] www appserver_3000/webhost01_8001 0/0/6/9/15 200 154 - - ---- 2/2/0/0/0 0/0 "GET /admin/api/menu HTTP/1.1" https://www.zjtest6.com/admin/api/menu Jun 24 11:38:26 localhost haproxy[23144]: 192.168.33.29:59389 [24/Jun/2016:11:38:26.377] www~ appserver_3000/webhost01_8001 6/0/9/9/25 200 154 - - ---- 0/0/0/0/0 0/0 "GET /admin/api/menu HTTP/1.1"
Jun 24 11:38:34 localhost haproxy[23144]: 192.168.33.29:59400 [24/Jun/2016:11:38:34.649] www~ appserver_3000/webhost01_8001 7/0/7/9/23 200 154 - - ---- 0/0/0/0/0 0/0 "GET /admin/api/menu HTTP/1.1" www~ 表示https请求 www 表示http请求
最新文章
- [SQL] SQL 基础知识梳理(一)- 数据库与 SQL
- 使用 Vue 2.0 实现服务端渲染的 HackerNews
- centeros:生产环境搭建
- [Algorithm] 群体智能优化算法之粒子群优化算法
- hdu-1179-二分图最大匹配
- 如何导出和导入mysql数据(数据迁移)
- socket编程报异常java.io.EOFException
- JVM执行引擎总结(读《深入理解JVM》) 早期编译优化 DCE for java
- vi基本命令
- eclipse下编译hadoop源代码(转)
- (原)ubuntu16中编译boost1.61.0库
- 用Photoshop做圆角图片
- redis和redis php扩展安装(转)
- 流动python - 写port扫描仪和各种并发尝试(多线程/多进程/gevent/futures)
- 【Zookeeper】源码之序列化
- Unity NGUI UIPanel下对粒子的剪裁
- year:2017 month:08 day:04
- Python序列化操作与反序列操作
- Javascript对象Oject的强制类型转换
- 安装Vue Devtools