nginx - a small variation of nginx build on debian and shrunk down to 4.2MB compressed
823
This is a small image of nginx web server. It is useful for static web pages. Both http and https. I use it as a reverse proxy. Designed for simple projects. Use an official nginx image for more complex projects.
Built on nginx:alpine from source.
See the source on github https://github.com/dgadams/nginx
I generally run this with a docker compose file:
name: web-server
services:
web-server:
container_name: web-server
image: dgadams/nginx:alpine
hostname: web-server.dgadams.us # define a FQDN so https can be hosted to cloudflare
domainname: dgadams.us
restart: unless-stopped
ports:
- 80:80
- 443:443
volumes:
- /data/www/nginx.conf:/etc/nginx/nginx.conf
- /data/www/html:/var/www/html
- /data/.certs:/etc/nginx/certs
# - /data/include.d:/etc/nginx
Content type
Image
Digest
sha256:253b56786…
Size
3.5 MB
Last updated
about 12 hours ago
docker pull dgadams/nginx