Sign inSign up

free/openresty

By free

•Updated almost 9 years ago

The build of OpenResty.

Image
0

104

free/openresty repository overview

⁠Quick reference

Source build OpenResty with the following modules:

  • openssl
  • nginx-ct
  • http_v2
  • ngx_http_substitutions_filter

⁠Usage:

Create log volume

  • docker run -d -v /var/log/ngx-openresty --name openresty-log-storage docker.io/centos:centos6 /bin/bash

Create config and www dirs.You can use any path here,just replace it in the run command.

  • mkdir -p /opt/mount/www
  • mkdir -p /opt/mount/ngx-openresty

Run

  • docker run -tid -p 80:80 -p 443:443 --volumes-from openresty-log-storage -v /opt/mount/www:/opt/mount/www -v /opt/mount/ngx-openresty/:/etc/ngx-openresty/ --restart=always --hostname openresty --name openresty docker.io/free/openresty '/bootstrap.sh'

The OpenResty config files put in /opt/mount/ngx-openresty. Use the following command to reload config:

  • docker exec openresty /cmd.sh

Tag summary

Content type

Image

Digest

Size

287.2 MB

Last updated

almost 9 years ago

docker pull free/openresty