title: Virtual Directory counterpart in nginx
body: <p>It seems nginx does not support embeded <code>location</code> bloks. Does this mean there is no <code>VirtualDirectory</code> counterpart in nginx?</p>
  
  <p>What is nginx conf of following Apache conf:</p>
  
  <pre><code>Alias /foo "D:\www\foo\public"
  &lt;Directory "D:\www\foo\public"&gt;
       # some settings
  &lt;/Directory&gt;
  Alias /bar "D:\www\bar\public"
  &lt;Directory "D:\www\bar\public"&gt;
       # some other config
  &lt;/Directory&gt;
  </code></pre>