/docker-nginx

nginx in a container

Primary LanguageShell

nginx in a container

Nginx 1.11.3

This is We ahead's dockerized nginx.

Features

  • Compiled from source on Alpine.
  • A few global default configuration options
  • Runs nginx unprivileged via user nobody and group nobody.
    • Exposes 8080 and 8443
  • Includes additional configuration files form /usr/local/etc/nginx/conf.d/*.conf

Configuration options used during compilation

nginx version: nginx/1.11.3
built by gcc 5.3.0 (Alpine 5.3.0)
built with OpenSSL 1.0.2h  3 May 2016
TLS SNI support enabled
configure arguments:
  --prefix=/etc/nginx
  --sbin-path=/usr/sbin/nginx
  --conf-path=/etc/nginx/nginx.conf
  --error-log-path=/tmp/error.log
  --http-log-path=/tmp/access.log
  --pid-path=/tmp/nginx.pid
  --lock-path=/tmp/nginx.lock
  --http-client-body-temp-path=/tmp/client_body_temp
  --http-proxy-temp-path=/tmp/proxy_temp
  --http-fastcgi-temp-path=/tmp/fastcgi_temp
  --http-uwsgi-temp-path=/tmp/uwsgi_temp
  --http-scgi-temp-path=/tmp/scgi_temp
  --user=nobody
  --group=nobody
  --with-http_ssl_module
  --with-http_realip_module
  --with-http_addition_module
  --with-http_sub_module
  --with-http_gunzip_module
  --with-http_gzip_static_module
  --with-http_stub_status_module
  --with-http_auth_request_module
  --with-ipv6
  --with-threads
  --with-stream
  --with-stream_ssl_module
  --with-http_slice_module
  --with-http_v2_module
  --without-http_memcached_module
  --without-mail_pop3_module
  --without-mail_imap_module
  --without-mail_smtp_module