Skip to content

Intellection/docker-nginx

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

58 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Docker Nginx

What is nginx?

Nginx (pronounced "engine-x") is an open source reverse proxy server for HTTP, HTTPS, SMTP, POP3, and IMAP protocols, as well as a load balancer, HTTP cache, and a web server (origin server). The nginx project started with a strong focus on high concurrency, high performance and low memory usage. It is licensed under the 2-clause BSD-like license and it runs on Linux, BSD variants, Mac OS X, Solaris, AIX, HP-UX, as well as on other *nix flavors. It also has a proof of concept port for Microsoft Windows.

https://wikipedia.org/wiki/nginx

How does this differ from upstream?

Currently, the only difference is that we use SIGQUIT as the STOPSIGNAL whereas upstream uses the default i.e. SIGTERM. Using SIGQUIT is better for our use-case as it ensures that nginx will perform a graceful shutdown.

Usage

docker run --name nginx zappi/nginx:latest

For more detailed usage documentation see upstream.