18 lines
386 B
Docker
18 lines
386 B
Docker
FROM nginx:alpine
|
|
|
|
ENV HTTPS_UPSTREAM="proxy"
|
|
ENV SSTP_UPSTREAM="sstp"
|
|
ENV SNI_NAME="cloud.bearns.me"
|
|
# self signed for client certification
|
|
# put in /etc/nginx/certs/
|
|
ENV CA_CERT="chain.pem"
|
|
# put in /etc/nginx/certs/$SNI_NAME
|
|
ENV CERT="fullchain.pem"
|
|
ENV KEY="key.pem"
|
|
|
|
RUN rm -f /etc/nginx/conf.d/default.conf
|
|
|
|
COPY nginx.conf /etc/nginx/
|
|
COPY *.conf.template /etc/nginx/templates/
|
|
|