Skip to content

docker 编译安装openresty,并安装自定义模块ngx_http_dyups_module

Notifications You must be signed in to change notification settings

greper/docker-openrestry-with-dyups

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

docker-openrestry

编译安装openresty,构建docker镜像 ,并安装自定义模块:ngx_http_dyups_module

  • step1 准备工作
    安装docker、docker-compose

  • step2 构建镜像

    cd docker
    docker-compose build
    docker-compose up -d

  • step3 验证dyups效果

    curl http://127.0.0.1:48081/detail

    host1 server 127.0.0.1:8088 weight=1 max_conns=0 max_fails=1 fail_timeout=10 backup=0 down=0

    host2 server 127.0.0.1:8089 weight=1 max_conns=0 max_fails=1 fail_timeout=10 backup=0 down=0

About

docker 编译安装openresty,并安装自定义模块ngx_http_dyups_module

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published