<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>bengo4</author_name>
  <author_url>https://blog.hatena.ne.jp/bengo4/</author_url>
  <blog_title>弁護士ドットコム株式会社 Creators’ blog</blog_title>
  <blog_url>https://creators.bengo4.com/</blog_url>
  <categories>
  </categories>
  <description>nginx で REST API やアプリケーションを公開していて、エンドポイントごとにアクセス制御を加えたいと考えたことはないでしょうか。 アプリケーション側の middleware で if 文を積み重ねていたり、そもそも認可の仕組みがなく API がオープンな状態だったり。そこで、nginx の設定ファイルだけで「このロールにはこのパス・メソッドだけ許可する」を実現する RBAC（ロールベースアクセス制御）モジュールを開発しました。 GitHub: nginx-auth-rbac 既存の選択肢と、その「ちょうどいい」が存在しなかった話 nginx でアクセス制御を実現する方法はすでにいく…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fcreators.bengo4.com%2Fentry%2F2026%2F04%2F15%2F080000&quot; title=&quot;nginx にロールベースアクセス制御を追加する ── nginx-auth-rbac モジュールの紹介 - 弁護士ドットコム株式会社 Creators’ blog&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url>https://cdn-ak.f.st-hatena.com/images/fotolife/b/bengo4/20260408/20260408175157.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2026-04-15 08:00:00</published>
  <title>nginx にロールベースアクセス制御を追加する ── nginx-auth-rbac モジュールの紹介</title>
  <type>rich</type>
  <url>https://creators.bengo4.com/entry/2026/04/15/080000</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
