Nginx setup with ssl:
Generate certificate from:
https://punchsalad.com/ssl-certificate-generator/
Â
Update DNS record , wait for 5 mins and check the dns ex:
Â
Once record is verified , download the cert from next page
Â
rename the files accordingly
sudo mv your_domain_chain-CA.txt your_domain_chain.crt
sudo mv your_private-key.txt your_private.key
Install nginx
sudo apt update
sudo apt install nginx
create directory to store ssl certs and copy the downloaded cert files in Step 4
sudo mkdir /etc/nginx/certs
Create a nginx configuration file
Create symlink
check configuration and reload nginx
Â