Docker Image for Nginx™ Plus®
Forked from hellgate75/nginx-plus
.
Nginx™ Plus® is the all‑in‑one application delivery platform for the modern web.
Here some more info on Nginx™ Plus® : https://www.nginx.com/products/
This docker images has been designed to be a test, development, environment for Nginx™ Plus® features. No warranties for production use.
Bear in mind that before building the project, you will need to download and install your own Nginx™ Plus® client certificates.
This can be down by placing the files nginx-repo.crt
and nginx-repo.key
in the root of this project.
You can then either take advantage of a pipeline build process or simply use docker build -t nginx-plus-test:latest
locally.
Volumes : /root/nginx/certs
, /root/nginx/repo-certs
, /root/nginx/conf.d
, /root/nginx/certs
, /usr/share/nginx/html
/root/nginx/certs
:
Volume used to install Nginx™ Plus® system certificates and keys.
/root/nginx/repo-certs
:
Volume used to install Nginx™ Plus® repository certificates and keys.
/root/nginx/conf
:
Volume used to install Nginx™ Plus® configuration files.
/root/nginx/conf.d
:
Volume used to install Nginx™ Plus® module configuration files (/etc/nginx/conf.d/...).
/usr/share/nginx/html
:
Default Nginx™ Plus® html folder, if no file will be added default file will be uploaded (see sample folder for default folder html files).
Ports: 80, 443
Nginx™ Plus® container environment variables:
NGINX_CONF_TARGZ_URL
: URL provided to download a tar gz file containing a few folders :conf
,conf.d
,repo-certs
,html
andcerts
to be decompressed in folder/root/nginx
. (default: "" - see Docker-Image-features for more).
A sample command to run Nginx™ Plus® container:
docker run -d -p 8080:80 -p 8043:443 -v /path/to/nginx/conf:/root/nginx/conf -v /path/to/nginx/certs:/root/nginx/certs --name my-nginx-plus hellgate75/nginx-plus:latest
On your browser open URL: http://{ container ip or localhost}:{8080 or any port you have bootstrapped}/.