change: nginx now uses self-signed https

This commit is contained in:
mcolonna 2025-04-02 18:33:35 +02:00
parent c8c5e952ab
commit de7f8e0492
8 changed files with 134 additions and 8 deletions

View file

@ -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;"]