Enable apache mods rewrite, header and remoteip

- To ensure proper Apache config is possible
This commit is contained in:
Markus Opolka
2019-02-08 16:26:29 +01:00
parent 88db810ec2
commit 1e66840c63

View File

@@ -40,6 +40,8 @@ RUN tar xzvf "/tmp/${version}.tar.gz" --strip-components=1 -C /var/www/html/ &&
rm "/tmp/${version}.tar.gz" && \
chown -R www-data:www-data /var/www/html
RUN a2enmod headers rewrite remoteip
COPY entrypoint.sh entrypoint.sh
ENTRYPOINT ["/var/www/html/entrypoint.sh"]
CMD ["apache2-foreground"]