liuzhen932/app-openresty

By liuzhen932

Updated about 10 hours ago

Ultra-lightweight OpenResty on Alpine with built-in zstd compression and HTTP/3 (QUIC)

Image
Networking
Web servers
0

9.9K

liuzhen932/app-openresty repository overview

OpenResty with HTTP/3, zstd based on Alpine

This is a custom compiled OpenResty image based on Alpine Linux. It offers a smaller footprint than official images while adding support for modern protocols and compression. It includes all standard Nginx modules, zstd compression, HTTP/3 (QUIC), and a pre-tuned configuration for production use.

Features

  • Ultra-lightweight: Alpine base, smaller than official OpenResty builds.
  • zstd compression: Support for the next-generation compression algorithm.
  • HTTP/3 + QUIC: Built-in support for the latest HTTP protocol.
  • Pre-tuned defaults: Optimized configuration out of the box, ready for production.
  • Full stock modules: All standard Nginx modules are enabled.

Quick Start

Run the container with default configuration:

docker run -d -p 80:80 -p 443:443 liuzhen932/app-openresty

To enable HTTP/3, also expose UDP port 443:

docker run -d -p 80:80 -p 443:443/tcp -p 443:443/udp liuzhen932/app-openresty

Configuration

The default configuration file is located at /usr/local/openresty/nginx/conf/nginx.conf. You can override it by mounting your own configuration file:

docker run -d -p 80:80 -p 443:443 -v /path/to/nginx.conf:/usr/local/openresty/nginx/conf/nginx.conf liuzhen932/app-openresty

License

The build scripts and associated files in this repository are open source and licensed under the AGPL-3.0 License. The resulting Docker image includes OpenResty and OpenSSL, which are covered by their respective licenses.

Tag summary

Content type

Image

Digest

sha256:421bababb

Size

63.5 MB

Last updated

about 10 hours ago

docker pull liuzhen932/app-openresty