This image is based on evild/alpine-base
nightly-libressl(Dockerfile)nightly-openssl,nightly(Dockerfile)
mainline-libressl,libressl, (Dockerfile)mainline,mainline-openssl,openssl,latest(Dockerfile)1.11.5-libressl(Dockerfile)1.11.5,1.11.5-openssl(Dockerfile)1.11.4-libressl(Dockerfile)1.11.4,1.11.4-openssl(Dockerfile)1.11.3-libressl(Dockerfile)1.11.3,1.11.3-openssl(Dockerfile)1.11.2-libressl(Dockerfile)1.11.2,1.11.2-openssl(Dockerfile)1.11.1-libressl(Dockerfile)1.11.1,1.11.1-openssl(Dockerfile)1.11.0-libressl(Dockerfile)1.11.0,1.11.0-openssl(Dockerfile)1.9.15-libressl(Dockerfile)1.9.15,1.9.15-openssl(Dockerfile)1.9.14-libressl(Dockerfile)1.9.14,1.9.14-openssl(Dockerfile)1.9.13-libressl(Dockerfile)1.9.13,1.9.13-openssl(Dockerfile)1.9.12(Dockerfile)1.9.11(Dockerfile)1.9.10(Dockerfile)1.9.9(Dockerfile)
stable,stable-openssl(Dockerfile)stable-libressl(Dockerfile)1.10.2-libressl(Dockerfile)1.10.2,1.10.2-openssl(Dockerfile)1.10.1-libressl(Dockerfile)1.10.1,1.10.1-openssl(Dockerfile)1.10.0(Dockerfile)1.8.1(Dockerfile)
Nginx (pronounced "engine-x") is an open source reverse proxy server for HTTP, HTTPS, SMTP, POP3, and IMAP protocols, as well as a load balancer, HTTP cache, and a web server (origin server). The nginx project started with a strong focus on high concurrency, high performance and low memory usage. It is licensed under the 2-clause BSD-like license and it runs on Linux, BSD variants, Mac OS X, Solaris, AIX, HP-UX, as well as on other nix flavors. It also has a proof of concept port for Microsoft Window..
Automated builds of the image are available on Dockerhub and is the recommended method of installation.
docker pull evild/alpine-nginx:1.11.2
You can also pull the latest tag which is built from the repository HEAD : Nginx Mainline with Openssl.
docker pull evild/alpine-nginx:latest
If you are crazy, you can also pull nightly tag witch is build every day from nginx git source.
docker pull evild/alpine-nginx:nightly
docker run -p 80:80 -p 443:443 --name nginx evild/alpine-nginx
nginx:
image: evild/alpine-nginx
restart: always
ports:
- 80:80
- 443:443
#volumes: #Overwrite nginx configuration
# - /your/path/to/nginx.conf:/etc/nginx/conf/nginx.conf:roYou can overwrite nginx configuration:
Create your own nginx.conf. Make sure your nginx.conf file has a volume to /etc/nginx/conf/nginx.conf
docker run -p 80:80 -p 443:443 -v /your/path/to/nginx.conf:/etc/nginx/conf/nginx.conf:ro --name nginx evild/alpine-nginx
Make sure you set daemon off in your configuration otherwise the container will exit.
