Nginx proxy pass all inbound http and https traffic to their destination according to their domain.
Default Enviroment variable RESOLVER
is 8.8.8.8
.
Change it if you want.
Enter this command in the host with docker installed.
docker run --rm -d \
-p 443:443 -p 80:80 \
-e RESOLVER=8.8.8.8 \
sajadsadra/proxy-pass-nginx
clone the repository and make your change then run this commnd.
docker-compose up --build -d