<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>Webhook - Tag - arleo.eu</title><link>https://www.arleo.eu/en/tags/webhook/</link><description>Webhook - Tag - arleo.eu</description><generator>Hugo -- gohugo.io</generator><language>en</language><lastBuildDate>Sat, 09 May 2026 13:06:50 +0200</lastBuildDate><atom:link href="https://www.arleo.eu/en/tags/webhook/" rel="self" type="application/rss+xml"/><item><title>Roadmap: Git webhook → automatic Hugo rebuild</title><link>https://www.arleo.eu/en/posts/roadmap-webhook-git-rebuild/</link><pubDate>Sat, 09 May 2026 13:06:50 +0200</pubDate><author>Jmr</author><guid>https://www.arleo.eu/en/posts/roadmap-webhook-git-rebuild/</guid><description><![CDATA[<div class="featured-image">
                <img src="/images/roadmap-webhook-git-rebuild-featured.jpg" referrerpolicy="no-referrer">
            </div><h2 id="status--backlog--not-yet-implemented">Status: 🗂️ BACKLOG — not yet implemented</h2>
<p>This page documents an architectural intent to be implemented in a future iteration. The code is not yet in production.</p>
<h2 id="context">Context</h2>
<p>In <a href="/en/posts/strategie-4-mcp-vs-git/" rel="">Strategy 4 (separating MCP / Git)</a>, I explained why <code>content/</code> is in <code>.gitignore</code> on the arleo.eu repo: so that no conflict is possible between MCP writes and Git writes.</p>
<p>Concretely, this means that when I push a new version of <code>layouts/</code>, <code>themes/</code>, <code>static/</code>, <code>hugo.toml</code>, or <code>deploy.sh</code> from VS Code, <strong>nothing happens automatically</strong> server-side. I have to SSH into the Hugo VM and manually run <code>git pull &amp;&amp; hugo --minify &amp;&amp; rsync</code>.</p>
<p>Not critical (structure pushes happen ~1× per week), but it&rsquo;s unnecessary friction. So: GitHub webhook → auto-rebuild.</p>
<h2 id="target-architecture">Target architecture</h2>]]></description></item><item><title>Post-mortem: Cloudflare Bot Management blocked MCP webhooks</title><link>https://www.arleo.eu/en/posts/postmortem-cf-bot-blocking-mcp/</link><pubDate>Sat, 09 May 2026 13:06:02 +0200</pubDate><author>Jmr</author><guid>https://www.arleo.eu/en/posts/postmortem-cf-bot-blocking-mcp/</guid><description><![CDATA[<div class="featured-image">
                <img src="/images/postmortem-cf-bot-blocking-mcp-featured.jpg" referrerpolicy="no-referrer">
            </div><h2 id="the-symptom">The symptom</h2>
<p>I just finished a webhook endpoint in <code>hugo-mcp-proxy</code> that will receive notifications from GitHub on every push to the arleo.eu repo. Clean implementation: HMAC-SHA256, rate limiting, IPAddressAllow GitHub ranges in systemd.</p>
<p>Functional test from an external client:</p>
<div class="code-block code-line-numbers open" data-start="0">
    <div class="code-header language-bash">
        <span class="code-title"><i class="arrow fas fa-angle-right" aria-hidden="true"></i></span>
        <span class="ellipses"><i class="fas fa-ellipsis-h" aria-hidden="true"></i></span>
        <span class="copy" title="Copy to clipboard"><i class="far fa-copy" aria-hidden="true"></i></span>
    </div><div class="highlight"><pre tabindex="0" class="chroma"><code class="language-bash" data-lang="bash"><span class="line"><span class="cl">$ curl -X POST https://mcp-hugo.arleo.eu/webhook/test <span class="se">\
</span></span></span><span class="line"><span class="cl"><span class="se"></span>    -H <span class="s2">&#34;Content-Type: application/json&#34;</span> <span class="se">\
</span></span></span><span class="line"><span class="cl"><span class="se"></span>    -d <span class="s1">&#39;{&#34;test&#34;: true}&#39;</span></span></span></code></pre></div></div>
<p>Response: <strong>403 Forbidden</strong>.</p>
<p>Strange. The service is running, my source IP is whitelisted, the HMAC is correct. Why 403?</p>
<h2 id="server-side-investigation">Server-side investigation</h2>
<p>NUC nginx logs:</p>
<div class="code-block code-line-numbers open" data-start="0">
    <div class="code-header language-">
        <span class="code-title"><i class="arrow fas fa-angle-right" aria-hidden="true"></i></span>
        <span class="ellipses"><i class="fas fa-ellipsis-h" aria-hidden="true"></i></span>
        <span class="copy" title="Copy to clipboard"><i class="far fa-copy" aria-hidden="true"></i></span>
    </div><pre tabindex="0"><code>$ sudo tail -100 /var/log/nginx/mcp-hugo.access.log | grep webhook</code></pre></div>
<p>Empty. No request reaches nginx.</p>
<p><code>mcp-oauth-proxy</code> logs:</p>
<div class="code-block code-line-numbers open" data-start="0">
    <div class="code-header language-">
        <span class="code-title"><i class="arrow fas fa-angle-right" aria-hidden="true"></i></span>
        <span class="ellipses"><i class="fas fa-ellipsis-h" aria-hidden="true"></i></span>
        <span class="copy" title="Copy to clipboard"><i class="far fa-copy" aria-hidden="true"></i></span>
    </div><pre tabindex="0"><code>$ sudo journalctl -u mcp-oauth-proxy -n 100 | grep webhook</code></pre></div>
<p>Empty too. The request doesn&rsquo;t even reach the service.</p>
<p>Either it&rsquo;s blocked by the firewall before nginx (CrowdSec or ufw), or upstream by Cloudflare.</p>
<h2 id="the-truth-at-cloudflare">The truth at Cloudflare</h2>]]></description></item></channel></rss>