Skip to content

Instantly share code, notes, and snippets.

@slattery
Last active April 23, 2024 01:01
Show Gist options
  • Save slattery/e1d17cae8cf3a9ec7a5c9085bb99aae3 to your computer and use it in GitHub Desktop.
Save slattery/e1d17cae8cf3a9ec7a5c9085bb99aae3 to your computer and use it in GitHub Desktop.
_lando.local.yml to defeat spinning scanners on macos M2
services:
appserver_nginx:
type: nginx
scanner:
okCodes:
- 302
- 404
- 403
tooling:
drush:
service: appserver
cmd: /bin/sh -c "drush --root=$LANDO_WEBROOT --uri=https://$LANDO_APP_NAME.lndo.site $@" "$0"
events:
post-start:
- appserver: echo "" && echo "" && echo "$(tput setaf 2)LOGIN TO THIS SITE$(tput sgr0)" && /bin/sh -c "drush --root=$LANDO_WEBROOT --uri=https://$LANDO_APP_NAME.lndo.site uli /"
append the generated lando.yml.txt config block with
edge: false
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment