管理员账号登录gitlab,在Admin area中,左侧Settings -> Network -> Outbound requests,勾选Allow requests to the local network from hooks and services
Settings
Network
Outbound requests
Allow requests to the local network from hooks and services
gitlab配置webhook,报错 url is blocked Requests to the local network are not allowed