-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Multiple domains don't really work well! #139
Comments
Worked like a charm, thanks @masikh ! |
I disagree, the original script works very well for multiple domains. When I first read the script, I was also a bit surprised by this domains=(example.org www.example.org)
rsa_key_size=4096
data_path="./data/certbot"
# ...
mkdir -p "$data_path/conf/live/$domains" But this is actually fine, Try this:
It will print Now as far as the actual https://eff-certbot.readthedocs.io/en/stable/using.html#certbot-command-line-options says:
|
The problem seem to be that what @dietmar is saying works only for bash.
But when executing the same 2 commands (including the same variable assignment) in zsh I got:
|
Met the same issue today on Ubuntu 20.0.4. I defined 2 domains in array, but all commands were completed for first domain only. |
My proposed fix is below:
Main difference: Use each item from the array of domains...
The text was updated successfully, but these errors were encountered: