title: Replace NGINX 403 for deny with a different error response code
body: <pre><code>location ~* ^/(jmx-cons|web-console|debug|invoker)/ {
  deny all;
  }
  </code></pre>
  
  <p>I have looked over the documentation but I cannot find a way to replace the 403 with a different response code.  I have tried using the error_page directive and it doesn't complain on config check but it doesn't effectively change the response code.</p>