I created my project folder in Ubuntu at:
And put in this folder: Docker-based Drupal stack
.env files and then wrote the command in the terminal:
docker-compose up -d
running the necessary images for the local rise of the Drupal site.
I created index.php files with
phpinfo() function in my project folder to test how everything works.
I wrote in the url
And File not found is displayed on my page page instead of the php version.
Do you have any suggestions as to why the index.php file for a nginx / docker is not visible?
If you need more information, write me in the comments.
Source: Docker Questions