/
Nginx setup with ssl:

Nginx setup with ssl:

  1. Generate certificate from:

https://punchsalad.com/ssl-certificate-generator/

generate-ssl-cert.png

 

  1. Update DNS record , wait for 5 mins and check the dns ex:

update-dns-record-ssl2.png

 

  1. Once record is verified , download the cert from next page

 

  1. rename the files accordingly

sudo mv your_domain_chain-CA.txt your_domain_chain.crt sudo mv your_private-key.txt your_private.key
  1. Install nginx

sudo apt update sudo apt install nginx
  1. create directory to store ssl certs and copy the downloaded cert files in Step 4

sudo mkdir /etc/nginx/certs
  1. Create a nginx configuration file

  1. Create symlink

  1. check configuration and reload nginx

 

Related content

Nginx on Sunbird
Nginx on Sunbird
More like this
Proxy Server
Proxy Server
More like this
Create SSL Certificate for SSL pinning
Create SSL Certificate for SSL pinning
More like this
GCP - Add custom domain to Storage bucket
GCP - Add custom domain to Storage bucket
More like this
Load balancer Setup
Load balancer Setup
More like this
Load balancer Configurations
Load balancer Configurations
More like this