Sign inSign up

svcops/nginx-ext

By svcops

•Updated 6 days ago

NGINX built with LuaJIT, HTTP/3, Brotli, GeoIP2, VTS, and additional Lua/NGINX modules.

Image
Web servers
0

10K+

svcops/nginx-ext repository overview

⁠svcops/nginx-ext

A Docker image of Nginx built with LuaJIT and multiple third-party Nginx and Lua modules.

⁠Supported tags

  • latest 1.31 1.31.6

⁠Nginx Configuration

Use Dynamic Modules

load_module modules/ngx_http_vhost_traffic_status_module.so;

default lua_package_path

/usr/local/share/luajit-2.1/?.lua;/usr/local/share/lua/5.1/?.lua;/usr/local/share/lua/5.1/?/init.lua;

default lua_package_cpath

./?.so;/usr/local/lib/lua/5.1/?.so;/usr/local/lib/lua/5.1/loadall.so

⁠Included Nginx Modules

⁠Built-in Nginx Modules
    --with-compat \
    --with-file-aio \
    --with-threads \
    --with-http_addition_module \
    --with-http_auth_request_module \
    --with-http_dav_module \
    --with-http_flv_module \
    --with-http_gunzip_module \
    --with-http_gzip_static_module \
    --with-http_mp4_module \
    --with-http_random_index_module \
    --with-http_realip_module \
    --with-http_secure_link_module \
    --with-http_slice_module \
    --with-http_ssl_module \
    --with-http_stub_status_module \
    --with-http_sub_module \
    --with-http_v2_module \
    --with-http_v3_module \
    --with-http_geoip_module \
    --with-mail \
    --with-mail_ssl_module \
    --with-stream \
    --with-stream_realip_module \
    --with-stream_ssl_module \
    --with-stream_ssl_preread_module \
⁠Third-party Modules
ModuleTypeDynamicSourceversion
nginx-acmeHTTPstaticnginx/nginx-acme⁠0.4.1
nginx-module-vtsHTTPdynamicvozlt/nginx-module-vts⁠0.2.7
ngx_devel_kitCorestaticvision5/ngx_devel_kit⁠0.3.4
ngx_http_geoip2_moduleHTTPstaticleev/ngx_http_geoip2_module⁠3.4
ngx_brotliHTTPstaticgoogle/ngx_brotli⁠1.1.0
lua-nginx-moduleHTTPstaticopenresty/lua-nginx-module⁠0.10.32rc5
echo-nginx-moduleHTTPstaticopenresty/echo-nginx-module⁠0.65
xss-nginx-moduleHTTPstaticopenresty/xss-nginx-module⁠v0.07
ngx_coolkitHTTPstaticFRiCKLE/ngx_coolkit⁠0.2
set-misc-nginx-moduleHTTPstaticopenresty/set-misc-nginx-module⁠0.34
form-input-nginx-moduleHTTPstaticcalio/form-input-nginx-module⁠0.12
encrypted-session-nginx-moduleHTTPstaticopenresty/encrypted-session-nginx-module⁠0.10
drizzle-nginx-moduleHTTPstaticopenresty/drizzle-nginx-module⁠0.1.14
srcache-nginx-moduleHTTPstaticopenresty/srcache-nginx-module⁠0.34
lua-upstream-nginx-moduleHTTPstaticopenresty/lua-upstream-nginx-module⁠0.08
headers-more-nginx-moduleHTTPstaticopenresty/headers-more-nginx-module⁠0.40
array-var-nginx-moduleHTTPstaticopenresty/array-var-nginx-module⁠0.06
memc-nginx-moduleHTTPstaticopenresty/memc-nginx-module⁠0.21
redis2-nginx-moduleHTTPstaticopenresty/redis2-nginx-module⁠0.15
ngx_http_redisHTTPstaticopenresty/ngx_http_redis⁠0.41
rds-json-nginx-moduleHTTPstaticopenresty/rds-json-nginx-module⁠0.17
rds-csv-nginx-moduleHTTPstaticopenresty/rds-csv-nginx-module⁠0.10
stream-lua-nginx-moduleStreamstaticopenresty/stream-lua-nginx-module⁠0.0.20rc3

⁠Installed Lua Modules

⁠Installed from Source (make install)
ModuleDescriptionSource URLVersion
lua-resty-coreCore runtime utilities extending ngx_lua (FFI, request ctx, time, etc.)https://github.com/openresty/lua-resty-core⁠0.1.35rc1
lua-resty-httpNon-blocking HTTP/HTTPS client based on cosocketshttps://github.com/ledgetech/lua-resty-http⁠0.18.0
lua-resty-stringHigh-performance string, hashing, and encoding utilities (FFI-based)https://github.com/openresty/lua-resty-string⁠0.19
lua-resty-opensslLuaJIT FFI bindings for OpenSSL (TLS, X509, RSA, ECDSA, etc.)https://github.com/fffonion/lua-resty-openssl⁠1.9.0
lua-cjsonFast JSON encoding/decoding for LuaJIThttps://github.com/openresty/lua-cjson⁠latest
lua-redis-parserRedis response parser and request constructor implemented in Chttps://github.com/openresty/lua-redis-parser⁠0.13
lua-rds-parserResty DBD Stream parser implemented in Chttps://github.com/openresty/lua-rds-parser⁠0.06
lua-resty-redisRedis client with connection pooling and pipelining supporthttps://github.com/openresty/lua-resty-redis⁠0.33
lua-resty-limit-trafficTraffic shaping utilities (rate limit, conn limit, req delay)https://github.com/openresty/lua-resty-limit-traffic⁠0.09
lua-resty-mysqlMySQL client library based on cosocketshttps://github.com/openresty/lua-resty-mysql⁠0.31
lua-resty-upstream-healthcheckActive health checks for Nginx upstream servershttps://github.com/openresty/lua-resty-upstream-healthcheck⁠0.10
lua-resty-websocketWebSocket protocol implementation for OpenRestyhttps://github.com/openresty/lua-resty-websocket⁠0.14
lua-resty-lrucacheIn-process LRU cache with TTL supporthttps://github.com/openresty/lua-resty-lrucache⁠0.15
lua-resty-uploadStreaming multipart/form-data parser for file uploadshttps://github.com/openresty/lua-resty-upload⁠0.11
lua-resty-balancerDynamic upstream peer selection and load balancing via Luahttps://github.com/openresty/lua-resty-balancer⁠0.05
lua-resty-dnsAsynchronous DNS resolver for OpenRestyhttps://github.com/openresty/lua-resty-dns⁠0.23
lua-resty-lockCross-worker mutex based on shared dicthttps://github.com/openresty/lua-resty-lock⁠0.09
lua-resty-memcachedMemcached client library with non-blocking I/Ohttps://github.com/openresty/lua-resty-memcached⁠0.18
lua-tablepoolReusable Lua table poolhttps://github.com/openresty/lua-tablepool⁠0.03
lua-resty-signalSignal handling for OpenRestyhttps://github.com/openresty/lua-resty-signal⁠0.05
lua-resty-shellExecute shell commands asynchronously through ngx.pipehttps://github.com/openresty/lua-resty-shell⁠0.03
⁠Installed via LuaRocks
ModuleDescriptionCommand
luafilesystemFile system attributes and directory traversalluarocks install luafilesystem --lua-version=5.1
structBinary data packing/unpackingluarocks install struct --lua-version=5.1
lrexlib-pcre2PCRE regular expression bindingsluarocks install lrexlib-pcre2 --lua-version=5.1
luasocketTCP/UDP socket programmingluarocks install luasocket --lua-version=5.1
lyamlYAML parser and emitterluarocks install lyaml --lua-version=5.1
lua-resty-jit-uuidUUID generator based on LuaJIT FFIluarocks install lua-resty-jit-uuid --lua-version=5.1
lua-resty-jwtJWT (JSON Web Token) encode/decode utilitiesluarocks install lua-resty-jwt --lua-version=5.1
lua-resty-rsaRSA encryption, decryption, and signature utilitiesluarocks install lua-resty-rsa --lua-version=5.1
lua-resty-ipmatcherHigh-performance IP address matchingluarocks install lua-resty-ipmatcher --lua-version=5.1
lua-resty-logger-socketAsynchronous logging to local file or remote logging hostluarocks install lua-resty-logger-socket --lua-version=5.1
lua-resty-maxminddbHigh-performance IP geolocation via MaxMind MMDBluarocks install lua-resty-maxminddb --lua-version=5.1
lua-resty-templateLightweight HTML templating engine for OpenRestyluarocks install lua-resty-template --lua-version=5.1
pgmoonA pure Lua Postgres driver for use in OpenResty & moreluarocks install pgmoon --lua-version=5.1

⁠Quick Start

Run the container:

docker run -d --name my-nginx -p 80:80 svcops/nginx-ext

Mount custom configuration:

docker run -d --name my-nginx \
  -p 80:80 \
  -v /path/to/nginx/conf:/etc/nginx \
  -v /path/to/nginx/logs:/var/log/nginx \
  svcops/nginx-ext

⁠Notes

  • Built on debian:trixie (builder)
  • Uses LuaJIT 2.1
  • Includes multiple built-in modules and third-party modules.
  • Includes multiple Lua modules
  • Runs as nginx user for security
  • Validates configuration at build time (nginx -t)

⁠Exposed Ports

  • 80 - HTTP

Tag summary

Content type

Image

Digest

sha256:c50cc0190…

Size

102.5 MB

Last updated

6 days ago

docker pull svcops/nginx-ext