I build a nginx image with this content in the Dockerfile:
FROM nginx COPY nginx.conf /etc/nginx
The content of the nginx.conf file is the follow