Quote:
Originally Posted by mitch
hi, I have a problem here:
I can't create certtificat and install is stopped, someone can help me? thx
|
go into the default nginx file, fill in the server_name variable.... then go to
https://certbot.eff.org and get the newest certbot or certbot-auto, then run it. I never use built in letsencrypt/certbot scripts. once you get and install cert crontab the renew script for every 28 days, it will keep cert auto renewed when the time comes.
example /etc/nginx/sites-enabled/default
Code:
server {
listen 443 ssl;
server_name your.site.com;
root /var/www;
index index.html index.php index.htm;