7 lines
173 B
Plaintext
7 lines
173 B
Plaintext
|
#!/bin/sh
|
||
|
# Setup certbot certificate for nginx
|
||
|
# args:
|
||
|
# 1) domain
|
||
|
# 2) email
|
||
|
sudo certbot -v -n certonly --nginx -m ${2:-$(git config --get user.email)} --agree-tos -d $1
|