<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>iww</author_name>
  <author_url>https://blog.hatena.ne.jp/iww/</author_url>
  <blog_title>揮発性のメモ２</blog_title>
  <blog_url>https://iww.hateblo.jp/</blog_url>
  <categories>
    <anon>Linux</anon>
    <anon>nginx</anon>
  </categories>
  <description>ランキング参加中Linuxランキング参加中プログラミングproxy_set_header でヘッダーを設定するとき、設定が複数個所にあると 設定されなくなることがある server { proxy_set_header X-Forwarded-Proto $scheme; # ★A location / { # ★Aは有効 } location /hoge { proxy_set_header Host $host; # ★B # ★Aは無効！ # ★Bは有効 } } このようにディレクティブの内と外に設定があると、外側でおこなわれた設定は無かったことになって、内側の設定のみになる。 Thes…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fiww.hateblo.jp%2Fentry%2F20250613%2Fproxy_set_header&quot; title=&quot; proxy_set_header でヘッダーを設定する - 揮発性のメモ２&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.user.blog.st-hatena.com/default_entry_og_image/42132/1685946694840016</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2025-06-13 08:00:00</published>
  <title> proxy_set_header でヘッダーを設定する</title>
  <type>rich</type>
  <url>https://iww.hateblo.jp/entry/20250613/proxy_set_header</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
