Send noindex, nofollow unless APP_INDEXABLE=true

Staging was crawlable. Opt-in flag rather than APP_ENV, since staging
runs with APP_ENV=production too. Set APP_INDEXABLE=true on the live
site only.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
elviraandClaude Opus 5.5 committed 2026-10-27 12:07:20 +02:00
1 parent b2f53ea952
commit fff84f9a43
4 files changed
+49

No files matched your search

+2
View File
@@ -4,6 +4,8 @@ COMPOSE_PROJECT_NAME=3dealer
APP_NAME=Laravel
APP_ENV=local
# Leave false everywhere except the live site (sends X-Robots-Tag: noindex, nofollow)
APP_INDEXABLE=false
APP_KEY=
APP_DEBUG=true
APP_URL=http://localhost