Public Repository

Last pushed: 2 years ago
Short Description
Nginx based reverse proxy. Designed for ARM v7 platforms.
Full Description

A simple single node (non-cluster-able) reverse proxy based on Nginx. Developed for ARM v7 platforms.

The reverse proxy configs for nginx and reloads nginx when containers are started and stopped.

Usage

To run it:
docker run -d -p 80:80 -v /var/run/docker.sock:/tmp/docker.sock hareemca123/arm-hproxy

Then start any containers you want proxied with an env var VIRTUAL_HOST=subdomain.youdomain.com

Example:
docker run -d --name test-container -p your-private-ip:private-port:private-port -e VIRTUAL_HOST=foo.bar.com container-image-name

Multiple Hosts

If you need to support multiple virtual hosts for a container, you can separate each entry with commas. For example, foo.bar.com,baz.bar.com,bar.com and each host will be setup the same.

Docker Pull Command
Owner
hareemca123