Last active
April 23, 2024 01:01
-
-
Save slattery/e1d17cae8cf3a9ec7a5c9085bb99aae3 to your computer and use it in GitHub Desktop.
_lando.local.yml to defeat spinning scanners on macos M2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 /" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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