mirror of
https://github.com/nextcloud/docker.git
synced 2025-04-21 03:06:08 +02:00
added ServerName in apache conf to remove AH00558 warning in logs
This commit is contained in:
parent
625445fbe9
commit
9165f3c53f
2 changed files with 6 additions and 2 deletions
|
@ -96,7 +96,9 @@ RUN { \
|
||||||
\
|
\
|
||||||
mkdir /var/www/data; \
|
mkdir /var/www/data; \
|
||||||
chown -R www-data:root /var/www; \
|
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
|
VOLUME /var/www/html
|
||||||
%%VARIANT_EXTRAS%%
|
%%VARIANT_EXTRAS%%
|
||||||
|
|
|
@ -142,7 +142,9 @@ RUN set -ex; \
|
||||||
chmod +x /usr/src/nextcloud/occ; \
|
chmod +x /usr/src/nextcloud/occ; \
|
||||||
\
|
\
|
||||||
apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false $fetchDeps; \
|
apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false $fetchDeps; \
|
||||||
rm -rf /var/lib/apt/lists/*
|
rm -rf /var/lib/apt/lists/*; \
|
||||||
|
# added ServerName in apache conf to remove AH00558 warning in logs
|
||||||
|
echo 'ServerName 127.0.0.1' >> /etc/apache2/apache2.conf
|
||||||
|
|
||||||
COPY *.sh upgrade.exclude /
|
COPY *.sh upgrade.exclude /
|
||||||
COPY config/* /usr/src/nextcloud/config/
|
COPY config/* /usr/src/nextcloud/config/
|
||||||
|
|
Loading…
Add table
Reference in a new issue