Initial Commit

This commit is contained in:
2018-05-11 21:25:11 +02:00
commit b2125dd4be
5 changed files with 73 additions and 0 deletions

12
Dockerfile Normal file
View File

@ -0,0 +1,12 @@
FROM nginx:alpine
EXPOSE 80
ENV PROXY_PASS_HOST=http://example.com
COPY default.template /etc/nginx/conf.d/default.template
COPY script.sh /usr/share/nginx/script.sh
CMD envsubst '$PROXY_PASS_HOST' < etc/nginx/conf.d/default.template > /etc/nginx/conf.d/default.conf && \
nginx -g 'daemon off;'