You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
386 B
17 lines
386 B
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/
|
|
|
|
|