No "ssl_certificate" is Defined in Server listening on SSL port NGINX
You may get an error No ssl_certificate in NGINX even anything in the access logs when attempting HTTPS on browser. The http_ssl_module module aleady installed in NGINX,
We need to check in error log using tail command while attempting HTTPS ,
2014/01/02 15:23:18 [error] 893#0: *71 no "ssl_certificate" is defined in server listening on SSL port while SSL handshaking, client: 18.104.22.168, server: 0.0.0.0:443
You should need to add following lines to NGINX configuration file.
listen 443 ssl;
return 301 $scheme://www.yourdomain.com$request_uri;
Note : Also check and set your SSL Cert. file path in configuration.