I registered my DNS on Cloudflare and generated both PEM and key SSL certificates. I assigned the certificate to the Nginx web server, but it is not working.
NGINX CONF
events {}
http {
server {
listen 80;
listen 443 ssl;
#ssl_certificate /etc/nginx/certs/aspnetapp.pfx;
#ssl_certificate_key /etc/nginx/certs/aspnetapp.pfx;
ssl on;
ssl_certificate /etc/nginx/ssl/tadehb.com.crt;
ssl_certificate_key /etc/nginx/ssl/tadehb.com.key;
ssl_client_certificate optional;
ssl_protocols SSLv3 TLSv1.1 TLSv1.2;
location / {
root /usr/share/nginx/html;
index index.html index.htm;
try_files $uri $uri/ /index.html;
}
}
}