8000 GitHub - gostatic/docker-openresty: Docker image with minimal OpenResty installation
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

gostatic/docker-openresty

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Stars

Watchers

Forks

Packages

No packages published
0