aee28c9a98
This adds the option to enable TLS for the vino reverse-proxy. As a bonus, basic_auth has also been parameterized. Change-Id: I202c2184fb0fa08585c150110be1127ff326865e
17 lines
332 B
Docker
17 lines
332 B
Docker
FROM nginx:alpine
|
|
|
|
ENV USE_BASIC_AUTH="false"
|
|
ENV BASIC_AUTH_USERNAME="username"
|
|
ENV BASIC_AUTH_PASSWORD="password"
|
|
|
|
ENV USE_TLS="false"
|
|
ENV TLS_CRT=""
|
|
ENV TLS_KEY=""
|
|
|
|
RUN apk add --update --no-cache apache2-utils ;
|
|
|
|
COPY assets/default.conf.tpl /default.conf.tpl
|
|
COPY assets/entrypoint.sh /entrypoint.sh
|
|
|
|
ENTRYPOINT /entrypoint.sh
|