1
0
angie-conv-image/image-entry.d/05-ca-certificates.envsh

13 lines
300 B
Plaintext
Raw Permalink Normal View History

2024-09-17 14:11:00 +03:00
#!/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