isolates parameter inside quotes
This commit is contained in:
parent
41e0d3e9fc
commit
a1355e5b5f
|
@ -60,6 +60,6 @@ auto_enable_configs() {
|
||||||
get_certificate() {
|
get_certificate() {
|
||||||
echo "Getting certificate for domain $1 on behalf of user $2"
|
echo "Getting certificate for domain $1 on behalf of user $2"
|
||||||
certbot certonly --agree-tos --keep -n --text --email $2 --server \
|
certbot certonly --agree-tos --keep -n --text --email $2 --server \
|
||||||
https://acme-v02.api.letsencrypt.org/directory -d *.$1 -d $1 --http-01-port 1337 \
|
https://acme-v02.api.letsencrypt.org/directory -d "*.$1" -d $1 --http-01-port 1337 \
|
||||||
--standalone --standalone-supported-challenges http-01 --debug
|
--standalone --standalone-supported-challenges http-01 --debug
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue