Use --nginx instead of specifying the webroot since we're expecting nginx to be running either way

This commit is contained in:
Kevin MacMartin 2018-10-01 23:42:12 -04:00
parent 049cad20c1
commit af50f0f3dc
1 changed files with 1 additions and 1 deletions

View File

@ -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