From 085fe44e928d3c1fac0f37d464f031711e9de2d4 Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Thu, 23 Oct 2014 14:49:05 -0700 Subject: [PATCH] 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 --- nginx/Dockerfile.template | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.26.2