From 136218de9c9e3a9711b50d2e879107ef0f1e5d5c Mon Sep 17 00:00:00 2001 From: Yik Teng Hie Date: Fri, 3 Feb 2023 14:42:52 +0800 Subject: [PATCH] gitea ALLOWED HOST LIST --- webhook.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/webhook.md b/webhook.md index 932364d..43b1966 100644 --- a/webhook.md +++ b/webhook.md @@ -2,7 +2,7 @@ - Setup gitea webhook to trigger jenkins build - [Tutorial](https://wiki.gcube-system.org/gcube/Gitea/Jenkins:_Setting_up_Webhooks) -- Update `docker-compose.yml` host name +- Update `docker-compose.yml` host name (Gitea & Jenkins) ```yml ... services: @@ -12,6 +12,12 @@ extra_hosts: - "dev.mitech.com.sg:172.16.16.2" ``` +- Update Gitea server app.ini. [Reference](https://nixing.mx/posts/configure-gitea-webhooks.html) +```ini + +[webhook] +ALLOWED_HOST_LIST = * +``` ## Steps 1. Add webhook trigger to Gitea Server