Nginx SSL certificates path format -


i'm newbie ngnix , server configurations in general , i'm trying implement ssl certificates in order move website https protocol.

nginx doc's instruct add these lines point certificate , private key files:

    ssl_certificate     www.example.com.crt;     ssl_certificate_key www.example.com.key; 

can these in format:

    www.example.com/crt     www.example.com/key 

else, i'm not sure hoy point address www.example.com.crt file

the ssl_certificate , ssl_certificate_key directives should point files stored @ location on disk, , not on internet.

e.g.,

ssl_certificate /etc/ssl/certs/mysite/chained.pem; ssl_certificate_key /etc/ssl/certs/mysite/private.key; 

Comments

Popular posts from this blog

java - UnknownEntityTypeException: Unable to locate persister (Hibernate 5.0) -

python - ValueError: empty vocabulary; perhaps the documents only contain stop words -

ubuntu - collect2: fatal error: ld terminated with signal 9 [Killed] -