reinstate htaccess file and enable apache rewrite module

lektura
max.mehl 2017-06-19 23:06:51 +02:00
parent f1c9ac4207
commit 22d3f5710c
2 changed files with 3 additions and 0 deletions

View File

@ -11,6 +11,8 @@ RUN curl -sS https://getcomposer.org/installer \
RUN composer require phpmailer/phpmailer
RUN a2enmod rewrite
ADD https://github.com/spf13/hugo/releases/download/v${HUGO_VERSION}/${HUGO_BINARY} /tmp/hugo.deb
RUN dpkg -i /tmp/hugo.deb \
&& rm /tmp/hugo.deb

View File

@ -1,4 +1,5 @@
RewriteEngine On
RewriteBase /
ErrorDocument 404 /404.html