全部博文(150)
分类: 网络与安全
2017-04-11 13:21:36
server {
server_name dev2bweb.goluk.cn;
listen 80;
keepalive_timeout 300;
access_log logs/dev2bweb.goluk.cn.log main;
root /a6/web/web-app-chat;
index index.html index.htm;
# Article
location /article {
alias /a6/web/web-app-article;
}
## letsencrypt renew
location /.well-known {
alias /usr/share/nginx/html/.well-known ;
}
}
Saving debug log to /var/log/letsencrypt/letsencrypt.log Obtaining a new certificate Performing the following challenges: http-01 challenge for dev2bweb.goluk.cn Using the webroot path /usr/share/nginx/html for all unmatched domains. Waiting for verification... Cleaning up challenges Generating key (2048 bits): /etc/letsencrypt/keys/0018_key-certbot.pem Creating CSR: /etc/letsencrypt/csr/0018_csr-certbot.pem IMPORTANT NOTES: - Congratulations! Your certificate and chain have been saved at /etc/letsencrypt/live/dev2bweb.goluk.cn/fullchain.pem. Your cert will expire on 2017-07-10. To obtain a new or tweaked version of this certificate in the future, simply run certbot-auto again. To non-interactively renew *all* of your certificates, run "certbot-auto renew" - If you like Certbot, please consider supporting our work by: Donating to ISRG / Let's Encrypt: Donating to EFF:
certbot-auto renew --dry-run
certbot-auto renew