mirror of
				https://github.com/dcarrillo/docker-nginx.git
				synced 2025-10-31 01:49:09 +00:00 
			
		
		
		
	
			
				
					
						
					
					5a28889406345768523b5dc91c2ebac1079ba003
				
			
			
		
	minimal nginx
Nginx docker image with a minimal set of modules. The image is based on the official Nginx image and it is built from source.
Current modules:
- stream
- http_ssl_module
- http_v2_module
- http_stub_status_module
Configuration
Edit conf.env
NGINX_VERSION=x.xx.x          # Nginx version to build from
DOCKER_IMAGE=dcarrillo/nginx  # Docker image
Build
Build locally:
./build.sh
Build locally and upload the image to a registry (you must be logged in to the registry)
./build.sh --push
Build locally, tag the image as latest and upload it to a registry (you must be logged in to the registry)
./build.sh --push --latest
Testing
Prerequisites:
- docker
- openssl
- curl
# build local image
./build.sh
# run tests
./tests/test.sh
					Languages
				
				
								
								
									Shell
								
								60.2%
							
						
							
								
								
									Dockerfile
								
								39.8%