Deploys Deploy到Heroku JsessionId cookie属性安全的安全项目尚未设置
大家好,
我想将jsessionid cookie设置为属性安全。
因此,我在application.yl中配置了服务器 - > session- cookie-> secure:true,一旦我在localhost运行了该应用程序,它就可以设置为true,但是一旦我将其部署到Heroku Server中通过詹金斯(Jenkins)进行我的生产,它无法像这张图片那样将其设置为真实。 在此处输入图像描述
我的Grails项目依赖项如下。
grails grails版本= 3.3.14, Java 8, gradle包装3.5
因此,如果您有任何建议将jsessionId cookie设置为属性属于Heroku Server的属性,请告知我。
非常感谢您。。
Hi everyone,
i would like to set JSESSIONID cookie at attribute secure to true.
So, i have configured in application.yml for server->session->cookie->secure:true, and once i did run the application in localhost it could set secure to true, but once i deploy it to heroku server via jenkins for my production it could not set secure to true like this picture.
enter image description here
My grails project dependencies as the following.
grails version = 3.3.14,
Java 8,
Gradle WrapperVersion 3.5
So, if you have any suggestion to set JSESSIONID cookie at attribute secure to true for heroku server please advise me.
Thank you very much.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论