<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>sfujiwara</author_name>
  <author_url>https://blog.hatena.ne.jp/sfujiwara/</author_url>
  <blog_title>酒日記 はてな支店</blog_title>
  <blog_url>https://sfujiwara.hatenablog.com/</blog_url>
  <categories>
    <anon>nginx</anon>
  </categories>
  <description>Apacheで特定ホスト以外からのアクセスをメンテナンス画面にする方法 - 元RX-7乗りの適当な日々 の nginx 版。nginx.conf でこんな感じですかね。 http { server { listen 80; root /tmp; error_page 503 /503.html; location / { if ($remote_addr ~ ^127\.0\.0\.1$ ) { break; } if (-f &quot;/tmp/503&quot;) { return 503; } } location /503.html { } } } 127.0.0.1 からのアクセスはなにもしない (b…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fsfujiwara.hatenablog.com%2Fentry%2F20100812%2F1281587030&quot; title=&quot; nginxで特定ホスト以外からのアクセスをメンテナンス画面にする方法 - 酒日記 はてな支店&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>2010-08-12 13:23:50</published>
  <title> nginxで特定ホスト以外からのアクセスをメンテナンス画面にする方法</title>
  <type>rich</type>
  <url>https://sfujiwara.hatenablog.com/entry/20100812/1281587030</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
