add nginx reverse proxy

This commit is contained in:
2022-01-29 00:48:09 +00:00
parent e658d71853
commit 4f1dbe2b07
5 changed files with 62 additions and 4 deletions

9
nginx/Dockerfile Normal file
View File

@ -0,0 +1,9 @@
FROM nginx:latest
COPY default.conf /tmp/nginx/default.conf
COPY docker-entrypoint.sh /tmp/docker-entrypoint.sh
RUN chmod 755 /tmp/docker-entrypoint.sh
ENTRYPOINT [ "/tmp/docker-entrypoint.sh" ]
CMD ["nginx", "-g", "daemon off;"]