Nginx + PHP-FPM containers using Podman cannot be linked

PART. 1

I used Podman and Podman-Compose to create Nginx and PHP-FPM with openSUSE Tumbleweed images.

The Containerfile for that Nginx container-file and the PHP-FPM container-file is shown below.

PART. 2

Also, run these Containerfile with the podman-compose command.

podman-compose -f ./podman-compose.yml up -d
podman-compose.yml file

PART. 3
Also, run these Containerfile with the podman-compose command.

podman-compose -f ./podman-compose.yml up -d
podman-compose.yml file

At this time, if you check the logs of the Nginx container and PHP-FPM container,
you will see the following error.

PART. 4

PART. 5

The nginx.conf file used is shown below.

PART. 6

The www.conf file used by PHP-FPM is shown below.

When accessing “index.php”, the web page displays “Access Denied.”.

However, “index.html” is displayed normally.

What is causing this error?

And how can it be made to work properly using openSUSE container ?