This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | Next revision Both sides next revision | ||
letsencrypt [2019/07/24 20:04] admin |
letsencrypt [2020/06/04 16:43] admin |
||
---|---|---|---|
Line 1: | Line 1: | ||
== new == | == new == | ||
<code>/usr/bin/certbot --nginx certonly -d yourdomain.com --deploy-hook /usr/local/sbin/push_to_confiared.sh</code> | <code>/usr/bin/certbot --nginx certonly -d yourdomain.com --deploy-hook /usr/local/sbin/push_to_confiared.sh</code> | ||
+ | |||
+ | == add new for nginx == | ||
+ | <code> ssl_protocols TLSv1 TLSv1.1 TLSv1.2; | ||
+ | ssl_ciphers HIGH:!aNULL:!MD5; | ||
+ | listen 443 ssl http2; | ||
+ | listen [::]:443 ssl http2; | ||
+ | ssl_certificate /etc/letsencrypt/live/yourdomain.com/fullchain.pem; | ||
+ | ssl_certificate_key /etc/letsencrypt/live/yourdomain.com/privkey.pem;</code> | ||
== renew for apache == | == renew for apache == |