Create a file called /etc/nginx/le_redirect_include.conf
1 | # intercept the challenges |
In your redirect block include this file
1 | server { |
To generate the LE keys run the following
1 | sudo mkdir -p /usr/share/nginx/letsencrypt |
Put the following in your crontab
1
2$ sudo crontab -e
@weekly /usr/bin/letsencrypt &> /tmp/letsencrypt.log; sudo kill -s HUP $(cat /var/run/nginx.pid)
I am currently working on LiveForm which makes
setting up contact forms on your website a breeze.