dotfiles/.local/bin/scripts/https

7 lines
173 B
Plaintext
Raw Normal View History

2021-11-02 12:00:02 +00:00
#!/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