Public | Automated Build

Last pushed: 4 months ago
Short Description
Yet another nginx-proxy
Full Description

Yet another nginx-proxy

Nginx container acting as a reverse proxy for docker containers.


Run nginx-proxy with ansible

ansible-playbook ansible/main.yml # change hosts line


Run nginx-proxy with docker

docker run -d -p 80:80 -v /var/run/docker.sock:/tmp/docker.sock -v /data/ssl_cert:/etc/nginx/certs gitgis/nginx-proxy

Run container you want to proxy with env

docker run -e ... #container_with_main_page
docker run -e ... #container_with_static_images
docker run -e VIRTUAL_PORT=8080 ... #container_with_api with exposed port 8080

SSL certificates

Put certificates into:


Run container you want to proxy with:

docker run -e -e
Docker Pull Command
Source Repository