title: docker ubuntu nginx setup not working right
body: <p>I have a fresh configuration for Docker, including services for php, mysql, and nginx. I get 404 not found in browser.</p>
  <h4>Here is my NGINX config:</h4>
  <pre><code>server {
  listen 80;
  index index.php index.html;
  error_log  /var/log/nginx/travellist-demo-error.log;
  access_log /var/log/nginx/travellist-demo-access.log;
  root /home/jubale/travellist-demo/public;
  location ~ \.php$ {
      try_files $uri =404;
      fastcgi_split_path_info ^(.+\.php)(/.+)$;
      fastcgi_pass app:9000;
      fastcgi_index index.php;
      include fastcgi_params;
      fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
      fastcgi_param PATH_INFO $fastcgi_path_info;
  }
  location / {
      try_files $uri $uri/ /index.php?$query_string;
      gzip_static on;
  }
  </code></pre>
  <p>}</p>
  <h4>Here is file structure under /home//</h4>
  <pre><code> app
   artisan
   bootstrap
   composer-installation.txt
   composer.json
   composer.lock
   config
   database
   dir-output.txt
   docker-compose
   docker-compose.yml
   Dockerfile
   package.json
   phpunit.xml
   public
   readme.md
   README.md
   resources
   routes
   server.php
   storage
   tests
   vendor
   webpack.mix.js
  </code></pre>