<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>Maco_Tasu</author_name>
  <author_url>https://blog.hatena.ne.jp/Maco_Tasu/</author_url>
  <blog_title>maco's life</blog_title>
  <blog_url>https://macotasu.hatenablog.jp/</blog_url>
  <categories>
    <anon>programming</anon>
  </categories>
  <description>nginxには定義した特定のcontent-typeの時にレスポンスの中の文字列を書き換えるsub_filterという機能があります。 こちらですね。Module ngx_http_sub_module できることは文字列の書き換えで、 sub_filter 'example.com' 'www.example.com'; と定義するとレスポンスの中のexample.comという文字列をwww.example.comに書き換えてくれます。sub_filter_onceのon,offで繰り返し置換するかどうかの設定をすることができ、sub_filter_typesで置換の対象とするcontent…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmacotasu.hatenablog.jp%2Fentry%2F2017%2F06%2F16%2F113953&quot; title=&quot;Nginxのngx_http_sub_module#sub_filterの挙動 - maco&amp;#39;s life&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>2017-06-16 11:39:53</published>
  <title>Nginxのngx_http_sub_module#sub_filterの挙動</title>
  <type>rich</type>
  <url>https://macotasu.hatenablog.jp/entry/2017/06/16/113953</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
