Sign inSign up

dcarrillo/nginx

By dcarrillo

•Updated 2 months ago

A production ready nginx image with a minimal set of modules enabled.

Image
0

2.4K

dcarrillo/nginx repository overview

⁠nginx alpine based

Nginx docker image compiled with the following modules enabled:

--with-stream
--with-http_ssl_module
--with-http_v2_module
--with-http_stub_status_module

For more information, check out the project on GitHub⁠.

⁠How to use this image

⁠Static content
docker run --name static -p 8080:80 -v /directory/statics:/usr/local/nginx/html/:ro -d dcarrillo/nginx
⁠Override configuration
docker run --name custom_nginx -p 8080:80 -v $PWD/nginx.conf:/usr/local/nginx/conf/nginx.conf:ro -d dcarrillo/nginx

Tag summary

Content type

Image

Digest

sha256:06e9840f2…

Size

7.9 MB

Last updated

2 months ago

docker pull dcarrillo/nginx