haproxy 看到的是https,后台是http的原因

https://www.zjtest6.com/admin/api/menu


haproxy 日志;


Jun 24 13:23:02 localhost haproxy[23205]: 192.168.33.29:56800 [24/Jun/2016:13:23:02.677] www~ appserver_3000/webhost01_8001 2/0/6/12/20 200 154 - - ---- 0/0/0/0/0 0/0 "GET /admin/api/menu HTTP/1.1"
Jun 24 13:23:10 localhost haproxy[23205]: 192.168.33.29:60282 [24/Jun/2016:13:23:10.449] www~ appserver_3000/webhost01_8001 6/0/7/13/26 200 154 - - ---- 0/0/0/0/0 0/0 "GET /admin/api/menu HTTP/1.1"


mojo 打印的信息:

     'url' => bless( {
                                                                      'query' => bless( {
                                                                                          'pairs' => []
                                                                                        }, 'Mojo::Parameters' ),
                                                                      'path' => bless( {
                                                                                         'path' => '/admin/api/menu',
                                                                                         'charset' => 'UTF-8'
                                                                                       }, 'Mojo::Path' ),
                                                                      'base' => bless( {
                                                                                         'scheme' => 'http',
                                                                                         'host' => 'www.zjtest6.com'
                                                                                       }, 'Mojo::URL' )
                                                                    }, 'Mojo::URL' ),
后台也需要证书

 
  

转载于:https://www.cnblogs.com/zhaoyangjian724/p/6199809.html

你可能感兴趣的:(后端,前端,ViewUI)