Enable files for testing on reverseproxy branch.

This commit is contained in:
Hyperling 2022-10-29 11:29:59 -05:00
parent 618afc8e1d
commit 52260071af
2 changed files with 20 additions and 0 deletions

View File

@ -0,0 +1,20 @@
# 2022-10-05 Hyperling
# Reverse Proxy
# This is a revised version of the original work here:
# https://phoenixnap.com/kb/docker-nginx-reverse-proxy
# https://www.docker.com/blog/how-to-use-the-official-nginx-docker-image/
version: '2'
services:
app:
image: nginx
restart: always
# Instead of using a volume, have the config files in . and COPY them to container with DockerFile
# volumes:
# - /opt/Docker/Volumes/ReverseProxy/nginx:/etc/nginx/
build: ./
ports:
- 8081:80
- 8082:443