latest
(master)with_image_filter_module
(http_image_filter_module)
The official NGINX docker image on Docker Hub is built with WebSSL 1.0.1, which doesn't support ALPN. If you want Chrome users to be able to use HTTP2 with your website, you must use a version of WebSSL that supports ALPN. OpenSSL only started supporting ALPN in version 1.0.2. For more information on the problem, check out this blog post by NGINX.
If you use the tag with_image_filter_module
, you get a version of nginx compiled with the http_image_filter_module
. Check out this use case and implementation using http_image_filter_module
#Usage You can use this image the same way you would the official NGINX image on docker hub; as abase image for your customized nginx image like so:
FROM mujz/nginx
COPY nginx.conf /etc/nginx/
COPY conf.d /etc/nginx/conf.d/
COPY html /usr/share/nginx/html/
Or by simply running a container using this image and mounting your config files like so:
docker run -d -p 80:80 \
-v nginx.conf:/etc/nginx/nginx.conf \
-v conf.d:/etc/nginx/conf.d/ \
-v html:/usr/share/nginx/html/ \
mujz/nginx