Let’s encrypt
Please follow this if you want to use let’s encrypt for certificate after you have configured properly in conf .
Install certbot
$ sudo apt install certbot python3-certbot-nginx
# ubuntu
$ sudo pacman -Sy certbot certbot-nginx
# arch
Obtain a certificate
sudo certbot --nginx
then follow the instructions, remember to enable redirect to https.
Metahkg is now available on your domain.