webhooks与jenkins配合使用时提示:HTTPStatus403-Novalidcrumbwasincludedintherequest

解决方法如上 nginx 错误缘由(Reason):apache jenkins在http请求头部中放置了一个名为.crumb的token。在使用了反向代理,而且在jenkins设置中勾选了“防止跨站点请求伪造(Prevent Cross Site Request Forgery exploits)”以后此token会被转发服务器apache/nginx认为是不合法头部而去掉。致使跳转失败。服务器
相关文章
相关标签/搜索