Make config file:
sudo nano /etc/nginx/sites-available/bot.confThen copy and paste bot.conf content and edit YOUR.DOMAIN strings. Now install Let's Encrypt on your server. For example in Debian you need to add jessie-backports and easily install it with apt-get:
sudo apt-get install -t jessie-backports letsencryptThen get cert for you domain: