Apache reverse proxy for Docker, running both HTTP and HTTPS
602
To run as a standalone container (image built with self-signed cert for SSL)
docker run --name proxy -d -p 8443:443 -p 8080:80 -e PROXY_PASS_HTTP='http://httpUrlHere.com/' -e PROXY_PASS_SSL='https://httpsUrlHere.com/' milobahg/proxy:latest
To run as a service:
docker service create --name proxy --publish 8443:443 --publish 8080:80 -e PROXY_PASS_HTTP='http://httpUrlHere.com/' -e PROXY_PASS_SSL='https://httpsUrlHere.com/' milobahg/proxy:latest
To run in a stack (with visualiser!), edit the variables inside of compose.yml for the PROXY_PASS* vars, then:
docker stack deploy -c compose.yml proxy
Visit: http://nodeIP.com Or : https://nodeIP.com:8443
Content type
Image
Digest
Size
65.8 MB
Last updated
over 8 years ago
docker pull milobahg/proxy