Nginx frontend in stream mode, client cert based auth to connect sstp server

This commit is contained in:
2024-12-14 23:34:27 +03:00
parent 761e7f4e06
commit 7a2079e3ef
7 changed files with 111 additions and 5 deletions
+10
View File
@@ -0,0 +1,10 @@
FROM nginx:alpine
ENV HTTPS_UPSTREAM="proxy"
ENV SSTP_UPSTREAM="sstp"
ENV CA_CERT="ca.pem"
COPY nginx.conf /etc/nginx/
COPY stream.conf.template /etc/nginx/templates/
RUN rm -f /etc/nginx/conf.d/default.conf