<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>motomichi_works</author_name>
  <author_url>https://blog.hatena.ne.jp/motomichi_works/</author_url>
  <blog_title>Motomichi Works Blog</blog_title>
  <blog_url>https://motomichi-works.hatenablog.com/</blog_url>
  <categories>
    <anon>制作</anon>
    <anon>nginx</anon>
  </categories>
  <description>空ファイルを作成しておく まず /var/log/nginx/debug_val.log を空ファイルで作成しておきます。 nginx.confの書き方 以下のように、httpディレクティブにlog_format フォーマット名 &quot;フォーマット内容&quot;;として、フォーマットを定義します。 serverディレクティブに、access_log ログファイルのパス どのフォーマットで出力するか;を記述します。 http { 〜略〜 # debug用のログフォーマットを定義 log_format debug_val_format &quot;host[$host] http_origin[$http_origin…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmotomichi-works.hatenablog.com%2Fentry%2F2022%2F09%2F18%2F164024&quot; title=&quot;nginxのデバッグ用のログを独自のフォーマットで出力する(nginx.conf内で使用している変数の値をログに出力する) - Motomichi Works 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></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2022-09-18 16:40:24</published>
  <title>nginxのデバッグ用のログを独自のフォーマットで出力する(nginx.conf内で使用している変数の値をログに出力する)</title>
  <type>rich</type>
  <url>https://motomichi-works.hatenablog.com/entry/2022/09/18/164024</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
