Dockerfile
FROM nginx COPY nginx/nginx.conf /etc/nginx/conf.d/default.conf EXPOSE 8080
nginx.conf
server { listen 8080; server_name help.coderecipes.org; location / { proxy_set_header Host $host; proxy_pass https://custom.intercom.help; } }
scripts.sh
#!bin/sh docker build -t help . docker run -d -p 80:8080 --name="nginx-help" help docker logs nginx-help
Created on 3/2/2018