Sign inSign up

caffeina/nginx-proxy-server-push

By caffeina

•Updated over 8 years ago

Fork form jwilder/nginx-proxy with server push support

Image
1

431

caffeina/nginx-proxy-server-push repository overview

nginx 1.13 License MIT

⁠Fork form jwilder/nginx-proxy⁠ with server push support

See the original documentation⁠ to find out all the features.

⁠Usage

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  ...
⁠Image variants

The nginx-proxy images are available in two flavors.

⁠caffeina/nginx-proxy-server-push:latest

This image uses the debian:jessie based nginx image.

$ docker pull caffeina/nginx-proxy-server-push:latest
⁠caffeina/nginx-proxy-server-push:alpine

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.

Tag summary

Content type

Image

Digest

Size

54.7 MB

Last updated

over 8 years ago

docker pull caffeina/nginx-proxy-server-push