This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | Next revision Both sides next revision | ||
letsencrypt [2018/09/25 14:36] k2patel [Apache Configuration] |
letsencrypt [2018/09/25 14:38] k2patel [Nginx configuration] |
||
---|---|---|---|
Line 56: | Line 56: | ||
</code> | </code> | ||
+ | |||
+ | SSL Configuration | ||
+ | <code conf ssl.conf> | ||
+ | ssl on; | ||
+ | ssl_certificate_key /etc/letsencrypt/live/fqdn.testdomain.com/privkey.pem; | ||
+ | ssl_certificate /etc/letsencrypt/live/fqdn.testdomain.com/fullchain.pem; | ||
+ | ssl_trusted_certificate /etc/letsencrypt/live/fqdn.testdomain.com/fullchain.pem; | ||
+ | </code> | ||
==== Apache Configuration ==== | ==== Apache Configuration ==== | ||
So each domain only need to redirect to HTTPS if URL requested is from acme. | So each domain only need to redirect to HTTPS if URL requested is from acme. |