diff --git a/Dockerfile b/Dockerfile index 45cdb83..db738be 100644 --- a/Dockerfile +++ b/Dockerfile @@ -5,7 +5,7 @@ MAINTAINER "cytopia" ### ### Build arguments ### -ARG VHOST_GEN_GIT_REF=0.5 +ARG VHOST_GEN_GIT_REF=0.7 ARG CERT_GEN_GIT_REF=0.2 ENV BUILD_DEPS \ @@ -35,7 +35,6 @@ ENV HTTPD_RELOAD="nginx -s stop" # required packages RUN set -x \ && apt-get update \ - && apt-get upgrade -y \ && apt-get install --no-install-recommends --no-install-suggests -y \ ${BUILD_DEPS} \ ${RUN_DEPS} \ diff --git a/data/vhost-gen/main.yml b/data/vhost-gen/main.yml index f079bcf..f73384d 100644 --- a/data/vhost-gen/main.yml +++ b/data/vhost-gen/main.yml @@ -87,6 +87,9 @@ vhost: # to prepend another subdirectory here. docroot: suffix: + # Array of indecies to serve as default files (e.g.: index.php, index.html, etc) + index: + - index.php # SSL Definition ssl: dir_crt: /etc/httpd/cert/main diff --git a/data/vhost-gen/mass.yml b/data/vhost-gen/mass.yml index da5f52b..63b6dd1 100644 --- a/data/vhost-gen/mass.yml +++ b/data/vhost-gen/mass.yml @@ -87,6 +87,11 @@ vhost: # to prepend another subdirectory here. docroot: suffix: __DOCROOT_SUFFIX__ + # Array of indecies to serve as default files (e.g.: index.php, index.html, etc) + index: + - index.php + - index.html + - index.htm # SSL Definition ssl: dir_crt: /etc/httpd/cert/mass