Sign inSign up

gvangool/nginx-src

By gvangool

Updated almost 11 years ago

A base package from which you can install/reconfigure your nginx.

Image
0

1.5K

gvangool/nginx-src repository overview

Config

The nginx config is based on the default Ubuntu 12.04 nginx configuration.

Following modification were done:

  echo "daemon off;" >> nginx/nginx.conf

In the ./configure statement, you can find other extensions you could install. They're used in one of the Ubuntu packages (nginx-full, nginx-naxsi, nginx-light, …).

Usage

This should be seen as a base package from which you can install/reconfigure your nginx.

I suggest you also mount 2 volumes: one for the sites you want to enable host and the second for the logs.

  mkdir -p ~/nginx/{logs,sites}
  docker run -v ~/nginx/logs:/var/log/nginx/ -v ~/ngnix/sites:/etc/nginx/sites-enabled gvangool/nginx-src

Tag summary

Content type

Image

Digest

sha256:f57f72560

Size

141.5 MB

Last updated

almost 11 years ago

docker pull gvangool/nginx-src