INNER CODE UNIT · Shell

LE_SSL_KEY

nginx-le/nginx-le · script/entrypoint.sh:12

export LE_SSL_KEY=/etc/nginx/ssl/${SSL_KEY}
export LE_SSL_CERT=/etc/nginx/ssl/${SSL_CERT}
export LE_SSL_CHAIN_CERT=/etc/nginx/ssl/${SSL_CHAIN_CERT}

#create configuration source directories, in case they are not mounted
mkdir -p /etc/nginx/conf.d-le
mkdir -p /etc/nginx/stream.conf.d-le

#create destination directories
mkdir -p /etc/nginx/conf.d
mkdir -p /etc/nginx/stream.d
mkdir -p /etc/nginx/ssl

if /usr/bin/find "/docker-entrypoint.d/" -mindepth 1 -maxdepth 1 -type f -print -quit 2>/dev/null | read v; then
    find "/docker-entrypoint.d/" -follow -type f -print | sort -V | while read -r f; do
        case "$f" in
            *.envsh)
                [ -x "$f" ] && source "$f"

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…