title: Access to localhost with nginx and docker-compose
body: <p>I would like access to my local app on localhost url with docker-compose and nginx. I can access to my projet with 127.0.0.1 and my vhost app.local, but not with localhost : error 404.</p>
  
  <p>My nginx conf (symfony project) :</p>
  
  <pre><code>server {
      listen   80; ## listen for ipv4; this line is default and implied
      listen   [::]:80 default_server ipv6only=on; ## listen for ipv6
      server_name localhost 127.0.0.1 0.0.0.0 app.local;
      root /var/www/app/web;
      location ~ ^(.*)/(app|app_dev|app_test|config)\.php(/|$) {
          fastcgi_pass php-upstream;
          fastcgi_split_path_info ^(.+\.php)(/.*)$;
          include fastcgi_params;
          fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
          fastcgi_param HTTPS off;
      }
      error_log /var/log/nginx/symfony_error.log;
      access_log /var/log/nginx/symfony_access.log;
  }
  </code></pre>
  
  <p>Anyone have idea why i can't access to my app with localhost ?</p>
  
  <p>Thank you !</p>