change: nginx now uses self-signed https
This commit is contained in:
parent
c8c5e952ab
commit
de7f8e0492
8 changed files with 134 additions and 8 deletions
|
|
@ -1,7 +1,7 @@
|
|||
# TODO no latest
|
||||
FROM alpine:latest
|
||||
|
||||
EXPOSE 80
|
||||
EXPOSE 443
|
||||
|
||||
# install curl
|
||||
RUN apk update
|
||||
|
|
@ -25,9 +25,9 @@ RUN apk fix
|
|||
|
||||
# add config
|
||||
RUN rm /etc/nginx/nginx.conf
|
||||
COPY nginx.conf /etc/nginx/nginx.conf
|
||||
COPY conf/ /etc/nginx/
|
||||
RUN rm -r /usr/share/nginx/html
|
||||
COPY www /usr/share/nginx/html
|
||||
COPY www/ /usr/share/nginx/html
|
||||
|
||||
# start
|
||||
CMD ["nginx", "-g", "daemon off;"]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue