13 lines
300 B
Bash
Executable File
13 lines
300 B
Bash
Executable File
#!/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
|