nginx add echo module
Posted Take a nap
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了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
以上是关于nginx add echo module的主要内容,如果未能解决你的问题,请参考以下文章