会员
周边
众包
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
晨曦
Hello World!
博客园
首页
新随笔
联系
订阅
管理
2017年6月14日
Nginx SSL+tomcat集群,request.getScheme() 取到https正确的协议
摘要: 关于nginx ssl + tomcat后 Java通过request.getScheme()获取到http而不是https的问题,解决方案如下: 配置 Nginx 的转发选项(需要在ssl模块上添加上): 重点: proxy_set_header X-Forwarded-Proto $scheme
阅读全文
posted @ 2017-06-14 15:28 晨羲
阅读(1617)
评论(0)
推荐(0)
编辑
公告