gitlab配置webhook,报错 url is blocked Requests to the local network are not allowed

  • 2
  • 浏览量:6,124 次
  • A+
所属分类:gitLab

gitlab 10.6 版本以后为了安全,不允许向本地网络发送webhook请求,如果想向本地网络发送webhook请求,则需要使用管理员帐号登录,默认管理员帐号是admin@example.com,密码就是你gitlab搭建好之后第一次输入的密码,登录之后, 点击Configure Gitlab ,如下图所示

gitlab配置webhook,报错 url is blocked Requests to the local network are not allowed

即可进入Admin area,在Admin area中,在settings标签下面,找到OutBound Request,勾选上Allow requests to the local network from hooks and services ,保存更改即可解决问题

gitlab配置webhook,报错 url is blocked Requests to the local network are not allowed

ZPY

发表评论

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

目前评论:2   其中:访客  0   博主  1   引用   1

    • 来自外部的引用: 1

      • Drone:There was a problem enabling your repository 問題與查找 – Jii 哥的科技網誌