title: deny all not preventing return redirection
body: <p>Nginx is behaving unexpectedly for me. Here are two simplified location blocks.</p>
  
  <p>This works as expected. Returns 403 error:</p>
  
  <pre><code>location / {
      deny all;
      root /var/www/test;
  }
  </code></pre>
  
  <p>I expected a 403 error. However, this returns 301 and redirects:</p>
  
  <pre><code>location / {
      deny all;
      return 301 https://$server_name$request_uri;
  }
  </code></pre>
  
  <p>How can I deny and prevent any url redirection with <code>return</code> directive?</p>