Directive can have multiple meanings. Each variant is separated with horizontal line


[edit] ssl_certificate

Syntax: ssl_certificate file
Default:
Context: http
server
Reference: ssl_certificate


This directive specifies the file containing the certificate, in PEM format, for this virtual host. This file can contain also other certificates and the server private key. Since version 0.6.7 the file path is relative to the directory where nginx main configuration file, nginx.conf, resides.


Module: HttpSslModule

[edit] ssl_certificate

syntax: ssl_certificate file

default: cert.pem

context: mail, server

Indicates file with the certificate in PEM format for this virtual server. The same file can contain other certificates, and also secret key in PEM format.


Module: MailSslModule