HUB
Sign inSign up
nginx logo

picoded/nginx

By picoded

•Updated about 8 years ago

nginx - with container DNS and additional settings made available via environment variables

Image
0

3.4K

picoded/nginx repository overview

⁠picoded/nginx

https://hub.docker.com/r/picoded/nginx/⁠ https://github.com/picoded/dockerfiles/tree/master/network/nginx⁠

⁠Summary and configuration

nginx - with container DNS and additional settings made available via environment variables

#
# Most common settings to adjust
#

# Client max body size conig (default 100M)
ENV CLIENT_MAX_BODY_SIZE 100M

# Client buffer size, before writing a tmp file
ENV CLIENT_MAX_BUFFER_SIZE 10M

# /etc/nginx/conf.d/default.conf overwrite (if configured)
ENV DEFAULT_CONF ""

#
# Settings you probably should 
# NOT adjust unless you know what
# you are doing
#

# DNS server to use (if configured)
ENV DNS ""

# DNS Validity timeframe
#
# This can be set as blank to follow DNS declared settings
# intentionally set to 10s to avoid DNS storms
ENV DNS_VALID_TIMEOUT 1s

# Number of worker process
ENV WORKER_PROCESSES 1

# Number of worker connections per process
ENV WORKER_CONNECTIONS 10240

# /etc/nginx/nginx.conf overwrite (if configured)
# NOTE if this is configured and used, all other configs
# parameters would be effectively useless
ENV NGINX_CONF ""

⁠Issue filling

Any problems / comments / kudos should be filed at github =) https://github.com/picoded/dockerfiles⁠

Tag summary

Content type

Image

Digest

Size

7.4 MB

Last updated

about 8 years ago

docker pull picoded/nginx