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请求

最新文章

  1. [SQL] SQL 基础知识梳理(一)- 数据库与 SQL
  2. 使用 Vue 2.0 实现服务端渲染的 HackerNews
  3. centeros:生产环境搭建
  4. [Algorithm] 群体智能优化算法之粒子群优化算法
  5. hdu-1179-二分图最大匹配
  6. 如何导出和导入mysql数据(数据迁移)
  7. socket编程报异常java.io.EOFException
  8. JVM执行引擎总结(读《深入理解JVM》) 早期编译优化 DCE for java
  9. vi基本命令
  10. eclipse下编译hadoop源代码(转)
  11. (原)ubuntu16中编译boost1.61.0库
  12. 用Photoshop做圆角图片
  13. redis和redis php扩展安装(转)
  14. 流动python - 写port扫描仪和各种并发尝试(多线程/多进程/gevent/futures)
  15. 【Zookeeper】源码之序列化
  16. Unity NGUI UIPanel下对粒子的剪裁
  17. year:2017 month:08 day:04
  18. Python序列化操作与反序列操作
  19. Javascript对象Oject的强制类型转换
  20. 安装Vue Devtools

热门文章

  1. AV_百度百科
  2. What’s new in Spark 1.2.0
  3. Android---60---Notification 通知栏的简单使用
  4. C# - 接口的继承
  5. 详解js和jquery里的this关键字
  6. JSP简单练习-使用JDOM创建xml文件
  7. C++要点
  8. [置顶] ArcGIS发布最新的 ArcGIS Runtime SDK for Android v10.1.1
  9. HTML5 input placeholder 颜色 改动
  10. 原始的js代码和jquery对比