Sign inSign up

qasymphony/nginx

By qasymphony

•Updated over 6 years ago
Archived

Nginx image

Image
0

50K+

qasymphony/nginx repository overview

⁠Nginx Image

⁠Usage

docker run[ -p <port>:<port>...][ -v <volume>:<volume>...][ -e <env>=<env>...] qasymphony/nginx:<version>

⁠Description

A base image for Nginx build. It provides an entry point that will, by default, start nginx with configuration file in /conf volume, and log in /logs volume.

⁠Volumes
  • /conf configuration file storage.
  • /logs log storage. Nginx image will write error logs to /logs/error.log.
⁠Environment Variables
  • NGINX_CONF the configuration file location relative to /conf volume. The default value is nginx.conf.

⁠Extra

  • The image will run nginx by default and log the output to stdout. It will override daemon and error_log in the configuration file to the default ones.
  • We can run another command by specify an executables as
    docker run qasymphony/nginx:<version> /bin/bash
    

Tag summary

Content type

Image

Digest

Size

68.3 MB

Last updated

over 10 years ago

docker pull qasymphony/nginx