official debian jessie with apache 2.4 and proxy http/html modules
456
8.7, latest DockerfileApache 2.4 with proxy (http/html) enabled on Debian Jessie Ready for single site (can be modified for NameVirtualHost as usual adding .conf in /etc/apache2/sites-enabled) Original default site has been fully disabled, every request is proxied.
PROXY_HOST: proxied hostname, default 127.0.0.1 PROXY_PORT: proxied port, default 8080
Only port 80 is exposed
e.g. in order to proxy a tomcat running on port 8080 having name "tomcat" docker run -p 80:80/tcp --env PROXY_HOST=tomcat --env PROXY_PORT=8080 -t paolodenti/debian-apache-proxy
Apache proxy directives internally used are:
ProxyPass / http://${PROXY_HOST}:${PROXY_PORT}/ ProxyPassReverse http://${PROXY_HOST}:${PROXY_PORT}/
Content type
Image
Digest
Size
85.8 MB
Last updated
over 9 years ago
docker pull paolodenti/jessie-apache-proxy