From 233b5b943ac5dbdd54f4418cda74fa037d8cf6a2 Mon Sep 17 00:00:00 2001 From: terminaldweller Date: Tue, 14 Jan 2025 16:13:58 -0500 Subject: using nginx as reverse proxy now --- Dockerfile_nginx | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 Dockerfile_nginx (limited to 'Dockerfile_nginx') diff --git a/Dockerfile_nginx b/Dockerfile_nginx new file mode 100644 index 0000000..9ecb95b --- /dev/null +++ b/Dockerfile_nginx @@ -0,0 +1,7 @@ +FROM alpine:3.21 as certbuilder +RUN apk add openssl +WORKDIR /certs +RUN openssl req -nodes -new -x509 -subj="/CN=icanhazallips.terminaldweller.com" -keyout server.key -out server.cert + +FROM nginx:stable-alpine +COPY --from=certbuilder /certs /certs -- cgit v1.2.3