diff --git a/000-default.conf b/000-default.conf new file mode 100644 index 0000000..c70a3d4 --- /dev/null +++ b/000-default.conf @@ -0,0 +1,15 @@ + + ServerAdmin webmaster@localhost + DocumentRoot /usr/share/blog/public + + ErrorLog ${APACHE_LOG_DIR}/error.log + CustomLog ${APACHE_LOG_DIR}/access.log combined + + + Options Indexes FollowSymLinks Includes MultiViews + AllowOverride All + Order allow,deny + Allow from all + + + diff --git a/Dockerfile b/Dockerfile index edff027..5b5bb7f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -17,6 +17,6 @@ RUN dpkg -i /tmp/hugo.deb \ COPY site/ /usr/share/blog -RUN sed -i.bak "s;/var/www/html;/usr/share/blog/public;" /etc/apache2/sites-enabled/000-default.conf +COPY 000-default.conf /etc/apache2/sites-enabled/ CMD /usr/share/blog/build/build.sh /usr/share/blog/data/signatures/signatures.json && apache2-foreground