<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>tkuchiki</author_name>
  <author_url>https://blog.hatena.ne.jp/tkuchiki/</author_url>
  <blog_title>tkuchikiの日記</blog_title>
  <blog_url>https://tkuchiki.hatenablog.com/</blog_url>
  <categories>
    <anon>nginx</anon>
  </categories>
  <description>特定の ip からのアクセス以外は 503 を返す例です。 nginxで特定ホスト以外からのアクセスをメンテナンス画面にする方法 (2) - (ひ)メモ を参考にさせていただきました。 ありがとうございます。以下が設定です。 geo $geo { default 1; 127.0.0.1 0; } server { listen 80 default_server; server_name _; location / { set $maintenance $geo; if ($maintenance) { return 503 &quot;Service Unavailable&quot;; } return 2…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftkuchiki.hatenablog.com%2Fentry%2F2015%2F05%2F21%2F194400&quot; title=&quot;nginx の HttpGeoModule を使って、特定 ip からのアクセス以外は 503 を返すのを簡潔に書く - tkuchikiの日記&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-05-21 19:44:00</published>
  <title>nginx の HttpGeoModule を使って、特定 ip からのアクセス以外は 503 を返すのを簡潔に書く</title>
  <type>rich</type>
  <url>https://tkuchiki.hatenablog.com/entry/2015/05/21/194400</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
