Gitlab配置webhook报错(Urlis blocked: Requests to the local network are not allowed解决)

临文乍了了,彻卷兀若无。这篇文章主要讲述Gitlab配置webhook报错:Urlis blocked: Requests to the local network are not allowed解决相关的知识,希望能为你提供帮助。


报错信息:

Urlis blocked: Requests to the local network are not allowed


原因:?Gitlab 10.6 版本以后为了安全,默认不允许向本地网络发送webhook请求,可以修改默认值!
解决方法:?以管理员身份登录Gitlab,进入adminarea(首页顶层一行有个小扳手图标)点击进入,接着左侧菜单栏----> settings(设置)下一级----> network(网络)----> outbound requests expend(外发请求)前面打勾(□ Allow requests to the local network from web hooks and services-允许Webhook和服务对本地网络的请求)即可!



↓↓↓↓↓↓?最近刚申请了个微信公众号,上面也会分享一些运维知识,大家点点发财手关注一波,感谢大家。 ??【原创公众号】:非著名运维 【福利】:公众号回复 “资料” 送运维自学资料大礼包哦!??



【Gitlab配置webhook报错(Urlis blocked: Requests to the local network are not allowed解决)】


    推荐阅读