Add ssl and http2 modules to nginx build.

This commit is contained in:
alf 2017-01-05 23:00:38 -08:00
parent c27f307be7
commit 2409ea5979
1 changed files with 2 additions and 0 deletions

View File

@ -29,6 +29,8 @@ RUN cd /tmp/nginx-${NGINX_VERSION} \
&& ./configure \ && ./configure \
--prefix=/opt/nginx \ --prefix=/opt/nginx \
--add-module=/tmp/nginx-rtmp-module-${NGINX_RTMP_VERSION} \ --add-module=/tmp/nginx-rtmp-module-${NGINX_RTMP_VERSION} \
--with-http_ssl_module \
--with-http_v2_module \
--conf-path=/opt/nginx/nginx.conf --error-log-path=/opt/nginx/logs/error.log --http-log-path=/opt/nginx/logs/access.log \ --conf-path=/opt/nginx/nginx.conf --error-log-path=/opt/nginx/logs/error.log --http-log-path=/opt/nginx/logs/access.log \
--with-debug --with-debug
RUN cd /tmp/nginx-${NGINX_VERSION} && make && make install RUN cd /tmp/nginx-${NGINX_VERSION} && make && make install