title: How To Convert Apache Config To NGINX
body: <p>I am moving from an Apache to an NGINX environment and need to convert the following virtual server configuration to NGINX.</p>
  
  <pre class="lang-xml prettyprint-override"><code>&lt;VirtualHost *:80&gt;
      DocumentRoot /var/www/myproject/web
      ServerName myproject.dev
      ServerAlias myproject.dev
  
      &lt;Directory /var/www/myproject/web&gt;
          AllowOverride All
          Order allow,deny
          Allow from All
      &lt;/Directory&gt;
  &lt;/VirtualHost&gt;
  </code></pre>
  
  <p>What would be the "exact translation" of this to NGINX?</p>