Skip to content

dddpaul/docker-nginx

Repository files navigation

docker-nginx

Nginx image based on docker-alpine with s6 overlay for containers.

While building the following steps are executed:

Lua-nginx-module

Lua module gives a practically unlimited abilities for HTTP requests handling. It's extremely fast thanks to LuaJIT and non-blocking thanks to Nginx nature.

lua-example.conf demonstrates how to use external Lua modules. For example:

location /lua {
    content_by_lua_block {
        ngx.say("Hello, world!")
    }
}
```

It's an equivalent for:

```
location /echo {
    echo "Hello, world!";
}
```

This module allows to plugin external Lua functions (modules), integrate into Nginx request handling phases, invoke subrequests and much more.

About

Nginx image based on baseimage-docker

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published