Docker image with minimal OpenResty installation
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
Dockerfile
LICENSE
Makefile
README.md
openresty-1.11.2.3.tar.gz

README.md

GoStatic Openresty

This is the base configuration for our hosted CDN. We use this minimal starting point to expand where needed for different services.

Version

We are currently using OpenResty 1.11.2.3

https://openresty.org/download/openresty-1.11.2.3.tar.gz

## Example Usage

The following two lines are all that is needed to get up and running with Openresty on Docker.

FROM gostatic/openresty:latest
ADD nginx.conf /opt/openresty/nginx/conf/nginx.conf

Supervisor Configuration

All of our services are ran via Supervisor. The following config is enough to get started

# /etc/supervisor.conf
[supervisord]
nodaemon=true

[include]
files = /etc/supervisor/conf.d/*.conf
# /etc/supervisor/conf.d/nginx.conf
[program:openresty]
command=/opt/openresty/nginx/sbin/nginx -c conf/nginx.conf
autorestart=true
priority=1