1
0
mirror of https://github.com/vichan-devel/vichan.git synced 2025-01-31 12:23:48 +01:00

docker: create empty robots.txt

This commit is contained in:
Zankaria 2024-04-04 17:33:22 +02:00 committed by Zankaria
parent 8799c142b0
commit 2af07d006b

View File

@ -27,8 +27,8 @@ ln -nfs \
chown www-data /var/www
chgrp www-data /var/www
# Initialize robots.txt with the default if it doesn't exist.
cp -n /code/robots.txt /var/www
# Initialize an empty robots.txt with the default if it doesn't exist.
touch /var/www/robots.txt
# Link the cache and tmp files directory.
ln -nfs /var/tmp/leftypol /var/www/tmp