From 3bee51dc7a4ecb4a049a14e0ced87dea4b0dc38b Mon Sep 17 00:00:00 2001 From: LTek-online <71458916+LTek-online@users.noreply.github.com> Date: Fri, 1 Sep 2023 22:47:28 +0200 Subject: [PATCH] clarify setup with gitlab with RFC1918 nets and non standard TLDs (#2363) The current documentation mentions that when one uses woodpecker on the same host as Gitlab, you might need to set the `Allow requests to the local network from webhooks and integrations` option on the gitlab server. This option not only needs to be set when running on the same host, but also needs to be set when setting up woodpecker with Gitlab on any RFC1918 net and on any non standard TLD like `.local` or `.internal`. --- docs/docs/30-administration/11-forges/40-gitlab.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/docs/30-administration/11-forges/40-gitlab.md b/docs/docs/30-administration/11-forges/40-gitlab.md index 46b40a0f1..77ecdff82 100644 --- a/docs/docs/30-administration/11-forges/40-gitlab.md +++ b/docs/docs/30-administration/11-forges/40-gitlab.md @@ -25,7 +25,7 @@ You must register your application with GitLab in order to generate a Client and Please use `http://woodpecker.mycompany.com/authorize` as the Authorization callback URL. Grant `api` scope to the application. -If you run the Woodpecker CI server on the same host as the GitLab instance, you might also need to allow local connections in GitLab, otherwise API requests will fail. In GitLab, navigate to the Admin dashboard, then go to `Settings > Network > Outbound requests` and enable `Allow requests to the local network from web hooks and services`. +If you run the Woodpecker CI server on a prvate IP (RFC1918) or use a non standard TLD (e.g. `.local`, `.intern`) with your GitLab instance, you might also need to allow local connections in GitLab, otherwise API requests will fail. In GitLab, navigate to the Admin dashboard, then go to `Settings > Network > Outbound requests` and enable `Allow requests to the local network from web hooks and services`. ## Configuration