Access denied, Please sign in and make sure you have proper permission.
#1 楼 @lyfi2003 我的应用首页是 https 的,但是发送请求的时候,都会 302 先跳到 http,然后再 301 跳到 https,是否有办法直接发送 https 请求,我看 rubychina 的路径写的也是相对路径,不知道是怎么配置的
会不会是这样的:
你的 lvs 是 http 方式转发,无论用户用什么过来,你收到的都是 http,rails 没有开启 ssl 时取当前 host,于是你的会被 301 到 http,然后 lvs 上做了 http 升 https,所以立马又 302 到 https