Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

how t oadd ssl to a subdomain in nginx


$ sudo apt install -y certbot

# stop nginx service, this is a must
$ sudo systemctl stop nginx

# generate an ssl certificate
$ sudo certbot certonly -d shop.example.com -d dashboard.example.com

Source by dev.to #
 
PREVIOUS NEXT
Tagged: #oadd #ssl #subdomain #nginx
ADD COMMENT
Topic
Name
1+3 =