25 lines
902 B
Markdown
25 lines
902 B
Markdown
![]() |
|
||
|
nginx 1.11.x base image using [ubuntu-slim](https://github.com/kubernetes/contrib/tree/master/images/ubuntu-slim)
|
||
|
|
||
|
nginx [engine x] is an HTTP and reverse proxy server, a mail proxy server, and a generic TCP proxy server.
|
||
|
|
||
|
This custom nginx image contains:
|
||
|
- [lua](https://github.com/openresty/lua-nginx-module) support
|
||
|
- [stream](http://nginx.org/en/docs/stream/ngx_stream_core_module.html) tcp support for upstreams
|
||
|
- nginx stats [nginx-module-vts](https://github.com/vozlt/nginx-module-vts)
|
||
|
- [Dynamic TLS record sizing](https://blog.cloudflare.com/optimizing-tls-over-tcp-to-reduce-latency/)
|
||
|
|
||
|
|
||
|
**How to use this image:**
|
||
|
This image does provides a default configuration file with no backend servers.
|
||
|
|
||
|
*Using docker*
|
||
|
```
|
||
|
$ docker run -v /some/nginx.con:/etc/nginx/nginx.conf:ro gcr.io/google_containers/nginx-slim:0.12
|
||
|
```
|
||
|
|
||
|
*Creating a replication controller*
|
||
|
```
|
||
|
$ kubectl create -f ./rc.yaml
|
||
|
```
|