Skip to content
This repository was archived by the owner on Mar 10, 2024. It is now read-only.

Commit bf24cbe

Browse files
committed
Works for NGINX version 1.16.1 in EPEL
1 parent 80d89d9 commit bf24cbe

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Dockerfile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ FROM centos:7
22

33
LABEL maintainer="TeslaGov" email="[email protected]"
44

5-
ARG NGINX_VERSION=1.12.2
5+
ARG NGINX_VERSION=1.16.1
66

77
ENV LD_LIBRARY_PATH=/usr/local/lib
88

@@ -133,6 +133,8 @@ RUN wget http://nginx.org/download/nginx-$NGINX_VERSION.tar.gz && \
133133
# Get nginx ready to run
134134
COPY resources/nginx.conf /etc/nginx/nginx.conf
135135
COPY resources/test-jwt-nginx.conf /etc/nginx/conf.d/test-jwt-nginx.conf
136+
RUN rm -rf /usr/share/nginx/html
137+
RUN cp -r /root/dl/nginx-1.16.1/html /usr/share/nginx
136138
RUN cp -r /usr/share/nginx/html /usr/share/nginx/secure
137139
RUN cp -r /usr/share/nginx/html /usr/share/nginx/secure-rs256
138140
RUN cp -r /usr/share/nginx/html /usr/share/nginx/secure-auth-header

0 commit comments

Comments
 (0)