Nginx 1.8 server and a reverse proxy server docker image
thedigitalgarage/nginx-18-centos7 image provides an nginx 1.8 server and a reverse proxy server. The image can be used as a base image for other applications based on nginx 1.8 web server.
To pull the
thedigitalgarage/nginx-18-centos7 image, run the following command as root:
docker pull thedigitalgarage/nginx-18-centos7
S2I build support
Nginx server image can be extended using S2I tool.
S2I build folder structure:
|./nginx-cfg/*.conf||Should contain all nginx configuration we want to include into image|
|./||Should contain nginx application source code|
The nginx container image supports the following configuration variable, which can be set by using the
-e option with the docker run command:
||By default, nginx logs into standard output, so the logs are accessible by using the docker logs command. When