<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>donbulinux</author_name>
  <author_url>https://blog.hatena.ne.jp/donbulinux/</author_url>
  <blog_title>AR ホームベーカリー</blog_title>
  <blog_url>https://donbulinux.hatenablog.jp/</blog_url>
  <categories>
    <anon>Nginx</anon>
  </categories>
  <description>タイトルゥ！ Nginx にリクエストが来た時、どんなドメインも受け入れたい Apache で言う所の &lt;VirtualHost *:80&gt; みたいにするやつ。 Nginx でも server_name *; と過去やっていたので、これで良いのだと思っていたけど、実は違うことに最近気付いた。 _ を使う 少なくとも今は server_name ディレクティブに * を使うのがダメらしく、 _ を使うことでなんでも受け入れる (catch all) ことができるらしい。 nginx.org In catch-all server examples the strange name “_” can…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fdonbulinux.hatenablog.jp%2Fentry%2F2023%2F05%2F01%2F183308&quot; title=&quot;Nginx では server_name *; でなんでも受けれるわけではないらしい - AR ホームベーカリー&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>2023-05-01 18:33:08</published>
  <title>Nginx では server_name *; でなんでも受けれるわけではないらしい</title>
  <type>rich</type>
  <url>https://donbulinux.hatenablog.jp/entry/2023/05/01/183308</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
