Skip to content

phenompeople/nginx

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dockeri.co License

Nginx

Dockerfiles for building Centos/Amazon Linux based Nginx LuaJIT image.

Supported tags and respective Dockerfile links

phenompeople/nginx

Docker Automated build Docker Build Status Docker Pulls

phenompeople/nginx-lua (Deprecated)

This image has been deprecated in favor of the automated nginx image provided. The upstream images are available to pull via docker.elastic.co/phenompeople/nginx:[version] like 1.13.4. The images found here will receive no further updates. Please adjust your usage accordingly.

Docker Automated build Docker Pulls

  • 1.11.10
  • latest
  • pod
  • angular
  • microsoft

Nginx components

  1. PCRE - Perl Compatible Regular Expressions library is a set of functions that implement regular expression pattern matching using the same syntax and semantics as Perl 5. PCRE has its own native API, as well as a set of wrapper functions that correspond to the POSIX regular expression API.
  2. ZLIB - zlib is designed to be a free, general-purpose, legally unencumbered -- that is, not covered by any patents -- lossless data-compression library for use on virtually any computer hardware and operating system
  3. OPENSSL - OpenSSL is a robust, commercial-grade, and full-featured toolkit for the Transport Layer Security (TLS) and Secure Sockets Layer (SSL) protocols. It is also a general-purpose cryptography library.
  4. DEV KIT - Nginx Development Kit - an Nginx module that adds additional generic tools that module developers can use in their own modules
  5. AJP - Nginx can connect to AJP port directly. The motivation of including these modules is Nginx's high performance and robustness.
  6. STICKY - Nginx module to add a sticky cookie to be always forwarded to the same upstream server.
  7. LUA - Embed the Power of Lua into NGINX HTTP servers

Component and its version included

|---------------------------------|------------|------------|-------------|
| **Component Name**              |**latest**  |**1.14.0**  |  **1.13.9** |
|---------------------------------|------------|------------|-------------|
| Nginx - Core                    |  1.14.0    |  1.14.0    |   1.13.9    |
|---------------------------------|------------|------------|-------------|
| Open SSL                        |  1.1.1     |   1.1.1    |    1.0.2n   |
|---------------------------------|------------|------------|-------------|
| PCRE                            |   8.42     |    8.42    |    8.41     |
|---------------------------------|------------|------------|-------------|
| ZLIB                            |  1.2.11    |   1.2.11   |    1.2.11   |
|---------------------------------|------------|------------|-------------|
| LUAJIT                          |  2.0.5     |   2.0.5    |    2.0.5    |
|---------------------------------|------------|------------|-------------|
| Nginx Dev Kit                   |  v0.3.0    |   v0.3.0   |   v0.3.0    |
|---------------------------------|------------|------------|-------------|
| Nginx Lua Mod Version           |  v0.10.11  |   v0.10.11 |   v0.10.10  |
|---------------------------------|------------|------------|-------------|
| Nginx Sticky Module             |  master    |  master    |    N/A      |
|---------------------------------|------------|------------|-------------|
| Nginx AJP Module                |  master    |  master    |    master   |
|---------------------------------|------------|------------|-------------|

Pre-Requisites

How to use this image

  1. This image can be used by simply running

$ docker run --name=nginx -v /etc/nginx/conf.d:/etc/nginx/conf.d -v /usr/share/nginx/html:/usr/share/nginx/html -p 80:80 -td phenompeople/nginx:latest

Above command runs nginx container with port 80 mapped to host and connecting to static site and its respective configuration mapped

  1. To make nginx as a reverse proxy and use persistent and updated configuration file(s) map only /etc/nginx/conf.d directory

$ docker run --name=nginx -v /etc/nginx/conf.d:/etc/nginx/conf.d -p 80:80 -td phenompeople/nginx:latest

  1. To make nginx as a reverse proxy and use persistent and updated configuration file(s) and TSL/SSL enabled map only /etc/nginx/conf.d directory. Please note that your configuration files should point to the said directory

$ docker run --name=nginx -v /etc/nginx/conf.d:/etc/nginx/conf.d -v /etc/nginx/ssl:/etc/nginx/ssl -p 80:80 -p 443:443 -td phenompeople/nginx:latest

Above command runs nginx container with port 80 mapped to host and connecting to static site and its respective configuration mapped

  1. To make image run even after reboot use extra option --restart=always

$ docker run --restart=always --name=nginx -v /etc/nginx/conf.d:/etc/nginx/conf.d -v /usr/share/nginx/html:/usr/share/nginx/html -p 80:80 -td phenompeople/nginx:latest

  1. Please define below variables during run time to replace default values, angular JS based container will require DIRECTORY_ROOT to map application

Maintainers

License and Authors

License: Apache License

Author : Phenompeople Pvt Ltd (admin.squad@phenompeople.com)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors