Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 

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

About

Docker image with minimal OpenResty installation

Resources

License

Packages

No packages published