From a4ebd39977d21e5dfe1646429e2a987888e62499 Mon Sep 17 00:00:00 2001 From: Grahame Thompson Date: Wed, 5 Feb 2020 09:53:02 +1100 Subject: [PATCH] #130 Fix No-robots.sh entrypoint fails if using non-standard Drupal root. --- .docker/images/nginx/no-robots.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.docker/images/nginx/no-robots.sh b/.docker/images/nginx/no-robots.sh index 714c2ee2..30be3453 100644 --- a/.docker/images/nginx/no-robots.sh +++ b/.docker/images/nginx/no-robots.sh @@ -4,5 +4,5 @@ # if [ ! "${LAGOON_ENVIRONMENT_TYPE}" == "production" ]; then - printf "User-agent: *\nDisallow: /\n" > /app/web/robots.txt + printf "User-agent: *\nDisallow: /\n" > /"${APP_DIR:-app}"/"${WEBROOT:-web}"/robots.txt fi