reinstate htaccess file and enable apache rewrite module
parent
f1c9ac4207
commit
22d3f5710c
|
@ -11,6 +11,8 @@ RUN curl -sS https://getcomposer.org/installer \
|
||||||
|
|
||||||
RUN composer require phpmailer/phpmailer
|
RUN composer require phpmailer/phpmailer
|
||||||
|
|
||||||
|
RUN a2enmod rewrite
|
||||||
|
|
||||||
ADD https://github.com/spf13/hugo/releases/download/v${HUGO_VERSION}/${HUGO_BINARY} /tmp/hugo.deb
|
ADD https://github.com/spf13/hugo/releases/download/v${HUGO_VERSION}/${HUGO_BINARY} /tmp/hugo.deb
|
||||||
RUN dpkg -i /tmp/hugo.deb \
|
RUN dpkg -i /tmp/hugo.deb \
|
||||||
&& rm /tmp/hugo.deb
|
&& rm /tmp/hugo.deb
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
RewriteEngine On
|
RewriteEngine On
|
||||||
|
RewriteBase /
|
||||||
|
|
||||||
ErrorDocument 404 /404.html
|
ErrorDocument 404 /404.html
|
||||||
|
|
Loading…
Reference in New Issue