Created
February 7, 2017 17:55
-
-
Save yooouuri/d538d16de73583280c1ade413b875cf8 to your computer and use it in GitHub Desktop.
Letsencrypt
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| cd /opt/letsencrypt | |
| # command uitvoeren | |
| sudo -H ./letsencrypt-auto certonly --standalone --renew-by-default -d example.com -d www.example.com | |
| # voorbeeld nginx conf | |
| # jouw config is: /etc/nginx/sites-available/maartenpeels.com | |
| # voeg onderstaande toe aan je server { ... } block | |
| listen 443 ssl; | |
| listen [::]:443 ssl; | |
| ssl on; | |
| ssl_certificate /etc/letsencrypt/live/yourivanmill.nl/fullchain.pem; | |
| ssl_certificate_key /etc/letsencrypt/live/yourivanmill.nl/privkey.pem; | |
| ssl_trusted_certificate /etc/letsencrypt/live/yourivanmill.nl/chain.pem; | |
| ssl_protocols TLSv1 TLSv1.1 TLSv1.2; | |
| ssl_ciphers HIGH:!aNULL:!MD5; | |
| # Allow access to the letsencrypt ACME Challenge | |
| location ~ /\.well-known\/acme-challenge { | |
| allow all; | |
| } | |
| # zie mijn config als voorbeeld |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment