当前位置: 首页 > nginx apache
  • request.getScheme cann’t get https in nginx proxy with apache

    程序中为了不写死url,使用了动态获得的方式:basePath = request.getScheme()+”://”+request.getServerName()+”:”+request.getServerPort()+path+”/”; 其中: request.getScheme() return http but not https.之前单独使用apache(https)+resin的方式正常,现在前面增加了一层ng ...

    阅读全文
    作者:2hei | 分类:nginx | 阅读:1,569 views | 标签:
    request.getScheme cann’t get https in nginx proxy with apache已关闭评论