title: HTTP 444 (No Response) instead of 404, 403 error pages?
body: <p>I always use &quot;return 444&quot; in the nginx config to stop crawlers that access my servers directly via IP or via the wrong hostname. It just closes the connection. Perfect.</p>
  <p>Now I want to use this response instead of the standard 404.html pages that nginx throws, but I fail at configuring.</p>
  <pre><code>error_page 500 502 503 504 /custom_50x.html;
  </code></pre>
  <p>This works fine, but I can't &quot;return 444&quot; like here:</p>
  <pre><code>server {
      listen      80;
      server_name &quot;&quot;;
      return      444;
  }
  </code></pre>
  <p>Does anybody know a way to combine these two?</p>