13 lines
300 B
Plaintext
13 lines
300 B
Plaintext
|
#!/bin/sh
|
||
|
|
||
|
if [ -z "${NGX_SSL_CERT_FILE:-}" ] ; then
|
||
|
unset NGX_SSL_CERT_FILE
|
||
|
if [ -n "${SSL_CERT_FILE:-}" ] ; then
|
||
|
log_always "SSL_CERT_FILE is already set (=${SSL_CERT_FILE})"
|
||
|
NGX_SSL_CERT_FILE=${SSL_CERT_FILE}
|
||
|
else
|
||
|
NGX_SSL_CERT_FILE="${volume_root}/ca.pem"
|
||
|
fi
|
||
|
fi
|
||
|
export NGX_SSL_CERT_FILE
|