You need to populate the container with custom NginX configuration files since they have been removed from the image:
/etc/nginx/nginx.conf
/etc/nginx/conf.d/*.conf
See in this example how to configure the deployment for that purpose:
You can choose the release and digest to build:
ARG digest
ARG tag
FROM nginx:${tag}${digest}
Content type
Image
Digest
Size
9 MB
Last updated
about 6 years ago
docker pull jmmirand/nginx:v1.18.0