thumbor: Update to post v6.0
[dockerfile.git] / nginx / Dockerfile.template
index 7ba73a31453b8fcb751650b21d223623f8e9a851..f069542181f5a1485b97eb339e6dbb64d2877f11 100644 (file)
@@ -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
@@ -35,7 +35,4 @@ RUN sed -i 's/listen 127.0.0.1;/listen 80 default_server;/' /etc/nginx/nginx.con
 RUN sed -i 's/server_name localhost;/server_name _;/' /etc/nginx/nginx.conf
 RUN mkdir /var/www/localhost/htdocs
 
-# Container networking happens automatically
-RUN sed -i 's/need net$/use net/' /etc/init.d/*
-
 EXPOSE 80