0
0
Fork 0
mirror of https://github.com/nextcloud/docker.git synced 2025-06-16 08:14:46 +02:00

added ServerName in apache conf to remove AH00558 warning in logs

This commit is contained in:
leolivier 2022-11-05 13:29:44 +01:00
parent 625445fbe9
commit 9165f3c53f
2 changed files with 6 additions and 2 deletions

View file

@ -96,7 +96,9 @@ RUN { \
\
mkdir /var/www/data; \
chown -R www-data:root /var/www; \
chmod -R g=u /var/www
chmod -R g=u /var/www; \
# added ServerName in apache conf to remove AH00558 warning in logs
echo 'ServerName 127.0.0.1' >> /etc/apache2/apache2.conf
VOLUME /var/www/html
%%VARIANT_EXTRAS%%