In .lando.yml
:
proxy:
appserver:
- hostname: mysite.lndo.site
middlewares:
- name: CanBeAnything
key: 'basicauth.users'
value: 'lando:$$apr1$$5HI8Qwxp$$2/jNlE4mlQA0JPWblBSfy1'
In .lando.yml
:
proxy:
appserver:
- hostname: mysite.lndo.site
middlewares:
- name: CanBeAnything
key: 'basicauth.users'
value: 'lando:$$apr1$$5HI8Qwxp$$2/jNlE4mlQA0JPWblBSfy1'
#!/bin/bash | |
# Check if a URL was provided | |
if [ -z "$1" ]; then | |
echo "Usage: $0 <URL>" | |
exit 1 | |
fi | |
# Assign the first argument to a variable | |
URL="$1" |
# View Apache setup. | |
- name: Apache setup | |
run: | | |
echo '--- /etc/apache2 ---' | |
sudo ls /etc/apache2 | |
echo '--- /etc/apache2/conf-available ---' | |
sudo ls /etc/apache2/conf-available | |
echo '--- /etc/apache2/conf-enabled ---' | |
sudo ls /etc/apache2/conf-enabled | |
echo '--- /etc/apache2/mods-available ---' |
#!/bin/bash | |
if [ -z "$1" ]; then | |
exit | |
fi | |
lando terminus drush $1 -- updatedb -y --no-cache-clear && \ | |
lando terminus drush $1 -- cache:rebuild && \ | |
lando terminus drush $1 -- config:import -y && \ | |
lando terminus drush $1 -- cache:rebuild |