Last active 1 hour ago

Creates a new certificate with certbot and setup in nginx existing configuration

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