<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Cloudflare on Umi4Life's Blog</title><link>https://umi4.life/th/tags/cloudflare/</link><description>Recent content from Umi4Life's Blog</description><generator>Hugo</generator><language>th-th</language><managingEditor>zekamashi@umi4.life (Umi4Life / Zekamashi)</managingEditor><webMaster>zekamashi@umi4.life (Umi4Life / Zekamashi)</webMaster><copyright>บทความทั้งหมดในบล็อกนี้อยู่ภายใต้สัญญาอนุญาต BY-NC-SA เว้นแต่จะระบุไว้เป็นอย่างอื่น กรุณาระบุแหล่งที่มาเมื่อนำไปเผยแพร่ซ้ำ!</copyright><lastBuildDate>Wed, 03 Jun 2026 18:30:00 +0700</lastBuildDate><atom:link href="https://umi4.life/th/tags/cloudflare/index.xml" rel="self" type="application/rss+xml"/><item><title>Untangling Homelab หลังตั้ง Hermes Dashboard แล้วพังเป็นลูกโซ่</title><link>https://umi4.life/th/posts/hermes-litellm-authelia-control-plane/</link><pubDate>Wed, 03 Jun 2026 18:30:00 +0700</pubDate><author>zekamashi@umi4.life (Umi4Life / Zekamashi)</author><guid>https://umi4.life/th/posts/hermes-litellm-authelia-control-plane/</guid><description>
<![CDATA[<h1>Untangling Homelab หลังตั้ง Hermes Dashboard แล้วพังเป็นลูกโซ่</h1><p>ผู้เขียน: Umi4Life / Zekamashi(zekamashi@umi4.life)</p>
        
          <p><strong>คำบรรยาย:</strong> เราแค่อยากเปิด Hermes Dashboard ให้เข้าจาก LAN ได้ แต่ดันไปสะกิด tech debt เก่าใน routing/auth stack จนต้องไล่แก้ปมทั้ง Traefik, Authelia OIDC, split DNS และ LiteLLM</p>
<div class="post-icon-row"><img src="/posts/hermes-litellm-authelia-control-plane/images/icons/traefik-proxy.svg" alt="Traefik Proxy">
<img src="/posts/hermes-litellm-authelia-control-plane/images/icons/cloudflare.svg" alt="Cloudflare">
<img src="/posts/hermes-litellm-authelia-control-plane/images/icons/docker.svg" alt="Docker">
<img src="/posts/hermes-litellm-authelia-control-plane/images/icons/authelia.svg" alt="Authelia">
<img src="/posts/hermes-litellm-authelia-control-plane/images/icons/litellm.svg" alt="LiteLLM"></div>

<p>งานนี้ไม่ได้ควรจะกลายเป็น incident ใหญ่เลย</p>
<p>เป้าหมายแรกเล็กมาก: เปิด Hermes Dashboard ให้ browser ใน LAN เข้าได้ เพื่อให้ Hermes Agent มี web control surface ที่ใช้งานง่ายขึ้น</p>
<p>แต่พอเริ่มแก้จริง มันลากปมเก่าใน homelab ออกมาทีละชั้น</p>
<p>เริ่มจาก dashboard bind อยู่แค่ <code>localhost</code> ต่อด้วย Traefik routing assumption, HTTPS forwarded header ที่ทำให้ OIDC redirect เพี้ยน, Authelia reject token exchange, LiteLLM container resolve hostname ของ LAN-only identity provider ไม่ได้ และสุดท้าย bug ที่เล็กแต่เจ็บมาก: <code>GENERIC_USERINFO_ENDPOINT</code> ดันชี้ไปที่ <code>token</code> endpoint</p>
        
        <hr><p>เผยแพร่เมื่อ 2026-06-03 ที่ <a href='https://umi4.life/'>Umi4Life's Blog</a> แก้ไขล่าสุดเมื่อ 2026-06-03</p>]]></description><category>homelab</category><category>infrastructure</category><category>automation</category></item></channel></rss>