This is the minimal configuration that causes the error:
```
# For Lua balancer:
load_module "modules/ngx_http_lua_module.so";
# Create it and grant sufficient rights:
user www-data;
pid /var/run/nginx.pid;
http {
}
```
Nginx fails trying to dynamically load ngx_http_lua_module, before any lua scrips.
`uname -a` returns:
```Linux nas 4.8.0-37-generic #39-Ubuntu SMP Thu Jan 26 02:27:07 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
```
The server runs Ubuntu Server 16.10.
This is the minimal configuration that causes the error: ngx_http_ lua_module. so";
```
# For Lua balancer:
load_module "modules/
# Create it and grant sufficient rights:
user www-data;
pid /var/run/nginx.pid;
http { lua_module, before any lua scrips.
}
```
Nginx fails trying to dynamically load ngx_http_
`uname -a` returns:
```Linux nas 4.8.0-37-generic #39-Ubuntu SMP Thu Jan 26 02:27:07 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
```
The server runs Ubuntu Server 16.10.