webhooks與jenkins配合使用時提示:HTTPStatus403-Novalidcrumbwasincludedintherequest

解決方法如上 nginx 錯誤緣由(Reason):apache jenkins在http請求頭部中放置了一個名爲.crumb的token。在使用了反向代理,而且在jenkins設置中勾選了「防止跨站點請求僞造(Prevent Cross Site Request Forgery exploits)」以後此token會被轉發服務器apache/nginx認爲是不合法頭部而去掉。致使跳轉失敗。服務器
相關文章
相關標籤/搜索