mirror of
https://github.com/mykitserver/docker-limesurvey.git
synced 2025-12-07 17:08:53 +01:00
Enable apache mods rewrite, header and remoteip
- To ensure proper Apache config is possible
This commit is contained in:
@@ -40,6 +40,8 @@ RUN tar xzvf "/tmp/${version}.tar.gz" --strip-components=1 -C /var/www/html/ &&
|
|||||||
rm "/tmp/${version}.tar.gz" && \
|
rm "/tmp/${version}.tar.gz" && \
|
||||||
chown -R www-data:www-data /var/www/html
|
chown -R www-data:www-data /var/www/html
|
||||||
|
|
||||||
|
RUN a2enmod headers rewrite remoteip
|
||||||
|
|
||||||
COPY entrypoint.sh entrypoint.sh
|
COPY entrypoint.sh entrypoint.sh
|
||||||
ENTRYPOINT ["/var/www/html/entrypoint.sh"]
|
ENTRYPOINT ["/var/www/html/entrypoint.sh"]
|
||||||
CMD ["apache2-foreground"]
|
CMD ["apache2-foreground"]
|
||||||
|
|||||||
Reference in New Issue
Block a user