• nginx add echo module


    because nginx container no echo module so i'm custom a image

    echo module

    wget https://github.com/openresty/echo-nginx-module/archive/v0.61.tar.gz
    

    cover

        ./configure --prefix=/usr/local/nginx  --with-select_module --with-select_module --with-poll_module --with-threads  --with-file-aio --with-http_ssl_module --with-http_v2_module --with-http_realip_module --with-http_addition_module --with-http_xslt_module --with-http_image_filter_module --with-http_geoip_module --with-http_sub_module --with-http_dav_module --with-http_flv_module --with-http_mp4_module  --with-http_gunzip_module --with-http_gzip_static_module --with-http_auth_request_module --with-http_random_index_module  --with-http_secure_link_module  --with-http_degradation_module  --with-http_slice_module  --with-http_perl_module --with-http_stub_status_module --with-mail --with-mail_ssl_module --with-stream_realip_module --with-stream_realip_module --with-stream_realip_module --add-module=/usr/local/nginx/echo-nginx-module-0.61
    make
    make install
    

    Dockerfile

    FROM nginx-echo
    MAINTAINER lele
    
    WORKDIR /usr/local/nginx
    EXPOSE 80
    CMD ["./sbin/nginx", "-g", "daemon off;"]
    

    docker images build

    docker build -t nginx-echov1 -f Dockerfile .
    

    complte

  • 相关阅读:
    3.数据库分类
    2.Oracle数据库安装教程
    1.Oracle数据库简介
    MySQL最全存储引擎、索引使用及SQL优化的实践
    大数据各个工具随笔
    初入Shell
    第4章 DDL数据定义
    第3章 Hive数据类型
    第2章 Hive安装
    MySQL 创建数据库
  • 原文地址:https://www.cnblogs.com/sxgaofeng/p/12858324.html
Copyright © 2020-2023  润新知