new_certificate.sh
· 104 B · Bash
Raw
#!/bin/bash
DOMAIN=$1
sudo certbot certonly --nginx -d $DOMAIN
sudo certbot install --nginx -d $DOMAIN
| 1 | #!/bin/bash |
| 2 | |
| 3 | DOMAIN=$1 |
| 4 | |
| 5 | sudo certbot certonly --nginx -d $DOMAIN |
| 6 | sudo certbot install --nginx -d $DOMAIN |