<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>tabitos-chalice</author_name>
  <author_url>https://blog.hatena.ne.jp/tabitos-chalice/</author_url>
  <blog_title>たびとの旅路 ～電脳砂漠の冒険譚～</blog_title>
  <blog_url>https://tabitos-voyage.com/</blog_url>
  <categories>
    <anon>インフラ</anon>
    <anon>インフラ|Linux</anon>
  </categories>
  <description>Rocky LinuxでNginxを設定した際に遭遇する「403 Forbidden」エラーの多くは、SELinuxが原因です。本記事では、この問題の切り分け方と、`ls -Z`でSELinuxコンテキストを確認し、`chcon`コマンドで正しいコンテキスト(`httpd_sys_content_t`)に変更して解決する手順を詳しく解説します。Ubuntuとの挙動の違いを通して、OSごとのセキュリティ思想についても考察します。</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftabitos-voyage.com%2Fentry%2F2024%2F05%2F26%2F215027&quot; title=&quot;見えざる守護者の機嫌を伺え ～Rocky LinuxとUbuntu、SELinuxを巡る冒険～ - たびとの旅路 ～電脳砂漠の冒険譚～&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/t/tabitos-chalice/20250803/20250803112854.jpg</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2024-05-26 21:50:27</published>
  <title>見えざる守護者の機嫌を伺え ～Rocky LinuxとUbuntu、SELinuxを巡る冒険～</title>
  <type>rich</type>
  <url>https://tabitos-voyage.com/entry/2024/05/26/215027</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
