Use --nginx instead of specifying the webroot since we're expecting nginx to be running either way
This commit is contained in:
parent
049cad20c1
commit
af50f0f3dc
1 changed files with 1 additions and 1 deletions
|
@ -1,3 +1,3 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
/usr/bin/certbot certonly --agree-tos --renew-by-default --email REPLACEME@REPLACEME.TLD --webroot -w /srv/http/REPLACEME.TLD/public -d REPLACEME.TLD,www.REPLACEME.tld,mail.REPLACEME.tld
|
||||
/usr/bin/certbot --nginx certonly --agree-tos --renew-by-default --email REPLACEME@REPLACEME.TLD -d REPLACEME.TLD,www.REPLACEME.tld,mail.REPLACEME.tld
|
||||
|
|
Loading…
Reference in a new issue