An open API service indexing awesome lists of open source software.

https://github.com/konstruktoid/container-nginx-build

Nginx Docker image
https://github.com/konstruktoid/container-nginx-build

Last synced: 5 months ago
JSON representation

Nginx Docker image

Awesome Lists containing this project

README

          

# Nginx

```sh
"nginx [engine x] is an HTTP and reverse proxy server, a mail proxy server,
and a generic TCP/UDP proxy server, originally written by Igor Sysoev."
```

Website:

## Build and run instuctions

```sh
$ docker build --no-cache -t konstruktoid/nginx:latest -f Dockerfile .
$ docker run --cap-drop=all --cap-add={chown,dac_override,net_bind_service,setgid,setuid} --name nginx -d -P konstruktoid/nginx
c7cd68ec16bf3b480591f441dedf6612d2fbd69f216d432a01208bfa9dacc103
$ docker inspect --format='{{.Config.Healthcheck}}' konstruktoid/nginx
{[CMD-SHELL curl -f 127.0.0.1 || exit 1] 5m0s 3s 0s 0}
```

There's also a concept version with a static NGINX server running on a limited
Busybox in the
[busybox branch](https://github.com/konstruktoid/container-nginx-build/tree/busybox).