From: W. Trevor King Date: Thu, 23 Oct 2014 21:49:05 +0000 (-0700) Subject: nginx/Dockerfile.template: Add auth_request to NGINX_MODULES_HTTP X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=085fe44e928d3c1fac0f37d464f031711e9de2d4;p=dockerfile.git nginx/Dockerfile.template: Add auth_request to NGINX_MODULES_HTTP This module is simple and flexible [1]. I'm pushing it for the new docker-registry auth, so I'm going to install it by default in my Nginx image. [1]: http://nginx.org/en/docs/http/ngx_http_auth_request_module.html --- diff --git a/nginx/Dockerfile.template b/nginx/Dockerfile.template index b3c8825..f069542 100644 --- a/nginx/Dockerfile.template +++ b/nginx/Dockerfile.template @@ -25,7 +25,7 @@ FROM ${NAMESPACE}/gentoo-syslog:${TAG} MAINTAINER ${MAINTAINER} #VOLUME ["${PORTAGE}:/usr/portage:ro", "${PORTAGE}/distfiles:/usr/portage/distfiles:rw"] -RUN echo 'NGINX_MODULES_HTTP="access auth_basic autoindex charset fastcgi gzip gzip_static limit_req map proxy rewrite scgi ssi stub_status"' >> /etc/portage/make.conf +RUN echo 'NGINX_MODULES_HTTP="access auth_basic auth_request autoindex charset fastcgi gzip gzip_static limit_req map proxy rewrite scgi ssi stub_status"' >> /etc/portage/make.conf RUN echo 'NGINX_MODULES_MAIL=""' >> /etc/portage/make.conf RUN emerge -v www-servers/nginx RUN eselect news read new