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