added to nginx the option to verify hostnames changes in ip. nginx open source doesn't resolve upstream servers after start

This commit is contained in:
2021-04-01 01:45:25 +02:00
parent fee54d9bcc
commit 8df5d984e0
2 changed files with 52 additions and 2 deletions

View File

@@ -1,7 +1,7 @@
FROM centos:7
COPY repo /etc/yum.repos.d/Nginx.repo
RUN yum update -y
RUN yum install -y nginx \
RUN yum install -y nginx bind-utils\
&& yum clean all
COPY docker-entrypoint.sh /
RUN chmod +x /docker-entrypoint.sh