   }
      acl {
        deny
      }
    file.dir: /path/to/doc_root
</code></pre>
</div>


<div class="example">
<div class="caption">Example. Misconfiguration Example 2</div>
<pre><code>paths:
  &quot;/&quot;:
    mruby.handler: |
      acl {    # this block will be ignored!
        allow { addr == &quot;127.0.0.1&quot; }
        deny
      }
      proc {|env| [399, {}, []}
    file.dir: /path/to/doc_root
</code></pre>
</div>


<p>
You can correct these like the following:
</p>

<div class="example">
<di