DirectorySecurity advisories
Sign in

Directory

openresty logo

openresty

Last changed
Sign in for updates

Get notified of upcoming product changes, critical vulnerability notifications and patches and more.

Sign in
Versions
Overview
Provenance
Specifications
SBOM
Vulnerabilities
Advisories

OpenResty is a high Performance Web Platform Based on Nginx and LuaJIT.

Download this Image

The image is available on cgr.dev:

docker pull cgr.dev/chainguard/openresty:latest

Usage

To start an OpenResty container with this image, you can use the following command:

docker run --name openresty -p 80:80 cgr.dev/chainguard/openresty

This will start OpenResty in non-daemon mode with the openresty's default Nginx configuration file.

To adhere to stricter security guidelines, in Chainguard's OpenResty image, the default locations for writable files are moved as follows:

  • logs: /var/log/openresty/
  • nginx.conf: /etc/nginx/nginx.conf
  • default.conf: /etc/nginx/conf.d/default.conf
  • *_temp directories: /var/run/openresty/

Configuration

You can mount your custom configuration files to the container.

docker run --name openresty -p 80:80 -v /path/to/your/nginx.conf:/etc/nginx/nginx.conf cgr.dev/chainguard/openresty

For more information, refer to the official OpenResty documentation and the OpenResty image documentation.

Licenses

Chainguard Images contain software packages that are direct or transitive dependencies. The following licenses were found in the "latest" version of this image:

  • Apache-2.0

  • Artistic-1.0-Perl

  • BSD-2-Clause

  • BSD-3-Clause

  • FTL

  • GCC-exception-3.1

  • GD

View more

For a complete list of licenses, please refer to this Image's SBOM.

Software license agreement

Category
application
Web Servers

Products

Chainguard Images

© 2024 Chainguard, Inc.