Docker-compose setup

Open resources/docker/nginx/invoiceplane.conf
At the server_name does it say localhost?

I still think it’s not serving PHP, but ok…
at the same location where index.php is located make a new file. Name it phpinfo.php
Put in it:

<?php
phpinfo();

either go to http://ivpl.local/phpinfo.php
(don’t forget to add ivpl.local to your hosts file)
or
`http://localhost:80/phpinfo.php
or
http://localhost/phpinfo.php

I changed server name to localhost.

http://localhost/phpinfo.php is serving an empty website

1 Like

So nginx doesn’t know where to find PHP.
fastcgi_pass php:9000 is incorrect

Make it

fastcgi_pass invoiceplane-php:9000;