forked from leftypol/leftypol
docker: create empty robots.txt
This commit is contained in:
parent
0354b1a3cd
commit
e1e6a5ce35
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue