Skip to content

Commit 44c7186

Browse files
authored
v1.2.8 (#15)
Major updates * Updating to use latest Nginx base image * Move localhost.conf to http.d so unmapped hosts return an index page
1 parent 8fe2fa1 commit 44c7186

File tree

3 files changed

+6
-4
lines changed

3 files changed

+6
-4
lines changed

Dockerfile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM bcgdesign/nginx:alpine-3.13-1.2.2
1+
FROM bcgdesign/nginx:alpine-3.13-1.2.4
22

33
LABEL maintainer="Ben Green <[email protected]>" \
44
org.label-schema.name="Nginx Proxy" \
@@ -32,7 +32,8 @@ RUN apk -U upgrade \
3232
curl \
3333
gomplate=${GOMPLATE_VERSION} \
3434
openssl \
35-
&& rm -rf /var/cache/apk/* /etc/nginx/sites /www/* /tmp/*
35+
&& mv /etc/nginx/sites/localhost.conf /etc/nginx/http.d/default.conf \
36+
&& rm -rf /var/cache/apk/* /etc/nginx/sites /tmp/*
3637

3738
COPY ./overlay /
3839

Dockerfile-automated

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,8 @@ RUN apk -U upgrade \
3232
curl \
3333
gomplate=${GOMPLATE_VERSION} \
3434
openssl \
35-
&& rm -rf /var/cache/apk/* /etc/nginx/sites /www/* /tmp/*
35+
&& mv /etc/nginx/sites/localhost.conf /etc/nginx/http.d/default.conf \
36+
&& rm -rf /var/cache/apk/* /etc/nginx/sites /tmp/*
3637

3738
COPY ./overlay /
3839

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.2.7
1+
1.2.8

0 commit comments

Comments
 (0)