Fork form jwilder/nginx-proxy with server push support
See the original documentation to find out all the features.
To run it:
$ docker run -d -p 80:80 -v /var/run/docker.sock:/tmp/docker.sock:ro caffeina/nginx-proxy-server-push
Then start any containers you want proxied with an env var VIRTUAL_HOST=subdomain.youdomain.com
$ docker run -e VIRTUAL_HOST=foo.bar.com ...
The nginx-proxy images are available in two flavors.
This image uses the debian:jessie based nginx image.
$ docker pull caffeina/nginx-proxy-server-push:latest
This image is based on the nginx:alpine image. Use this image to fully support HTTP/2 (including ALPN required by recent Chrome versions). A valid certificate is required as well (see original documentation for more info).
$ docker pull caffeina/nginx-proxy-server-push:alpine
Thanks to jwilder for the awesome work.