I don't think you should mount the /etc/nginx
folder directly. This will override your nginx
configuration and cause the container to fail.
Instead, you can mount your configuration file to /etc/nginx/nginx.conf
.
Check the official nginx
documentation in Dockerhub for more details on how to properly run the container.
EDIT
Troubleshoot Volume Mounting in Azure App using ContainerAppSystemLogs_CL
.