title: Nginx Configuration to Apache
body: <p>I'm trying to port an conf file from Nginx to Apache. Right now my collegue running with Nginx, but I use Apache instead of Nginx.</p>
  
  <p>The nginx configuration looks like this:</p>
  
  <pre><code>server {
  listen      80;
  server_name MY_SERVER_NAME;
  root /DIR_PROJECT/web;
  
      //Angular
      location / {
               root /DIR_PROJECT/web/front;
              try_files $uri /index.html;
      }
  
      location ~ ^/(uploads)(/.*)$ {
              root /DIR_PROJECT/app/data;
      }
  
      //Symfony
      location ~ ^/(assets|bundles)(/.*)$ {
              #try to serve file directly, fallback to app.php
              try_files $uri /app.php$is_args$args;
      }
  
      location ~ ^/(app_dev|config)\.php(/|$) {
              fastcgi_pass   127.0.0.1:9000;
              fastcgi_split_path_info ^(.+\.php)(/.*)$;
              fastcgi_param SCRIPT_FILENAME$document_root$fastcgi_script_name;
              fastcgi_buffer_size 32k;
              fastcgi_buffers 256 32k;
              fastcgi_max_temp_file_size 0;
              include        fastcgi_params;
      }
  
      error_log /DIR_PROJECT/app/logs/error.log;
      access_log /DIR_PROJECT/app/logs/access.log;
  }
  </code></pre>
  
  <p>I want change it to apache configuration. How I can do that?</p>
  
  <p>Thanks.</p>