Sign inSign up

milobahg/proxy

By milobahg

Updated over 8 years ago

Apache reverse proxy for Docker, running both HTTP and HTTPS

Image
0

602

milobahg/proxy repository overview

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

Tag summary

Content type

Image

Digest

Size

65.8 MB

Last updated

over 8 years ago

docker pull milobahg/proxy