the error in the log file is this:
SSL_CTX_use_PrivateKey_file("c:/nginx/ssl/key.key") failed (SSL: error:0B080074:x509 certificate routines:X509_check_private_key:key values mismatch
Have you tried running the commenting ssl_certificate_key line with a # and the error that appears is this:
no "ssl_certificate_key" is defined for the "ssl" directive in C:\nginx/conf/nginx.conf:121
The conf file is well:
server {
listen 443;
ssl on;
ssl_certificate c:/nginx/ssl/SSL.pem;
ssl_certificate_key c:/nginx/ssl/key.key;
server_name localhost;
access_log c:/nginx/logs/ssl_access.log;
error_log c:/nginx/logs/ssl_error.log;
location / {
root html;
index index.php;
}
}