<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>paranishian</author_name>
  <author_url>https://blog.hatena.ne.jp/paranishian/</author_url>
  <blog_title>paranitips</blog_title>
  <blog_url>https://paranishian.hateblo.jp/</blog_url>
  <categories>
    <anon>開発</anon>
  </categories>
  <description>例えば、画像へのリクエストをnginxでS3にリバースプロキシしていると、テスト用のBasic認証で閉じられた環境で適用するとS3側で弾かれてしまいます。 サイト全体にBasic認証かけてる。 http { ... auth_basic &quot;Restricted&quot;; auth_basic_user_file &quot;/path/to/passwd&quot;; ... 以下のように画像へのリクエストでAuthorizationヘッダを空文字で上書きすればOKです。 location /images/ { proxy_set_header Authorization &quot;&quot;; proxy_pass &quot;http://…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fparanishian.hateblo.jp%2Fentry%2F2015%2F09%2F11%2F150253&quot; title=&quot;nginxでリバースプロキシするときにBasic認証を解除する - paranitips&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>2015-09-11 15:02:53</published>
  <title>nginxでリバースプロキシするときにBasic認証を解除する</title>
  <type>rich</type>
  <url>https://paranishian.hateblo.jp/entry/2015/09/11/150253</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
