Skip to content

Commit

Permalink
govCMS#130 Fix No-robots.sh entrypoint fails if using non-standard Dr…
Browse files Browse the repository at this point in the history
…upal root.
  • Loading branch information
grahamethompson committed Feb 4, 2020
1 parent 264a413 commit a4ebd39
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .docker/images/nginx/no-robots.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit a4ebd39

Please sign in to comment.