We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
好像没有复制证书到这个目录吧?
common::generate_domain_certs(){ if [[ ${GENERATE_DOMAIN_CRT} == "true" ]]; then local DOMAIN=$(echo ${REGISTRY_DOMAIN} | sed 's/[^.]*./*./') rm -rf ${CERTS_DIR} ${RESOURCES_NGINX_DIR}/certs mkdir -p ${CERTS_DIR} ${RESOURCES_NGINX_DIR}/certs infolog "Generating TLS cert for domain: ${REGISTRY_DOMAIN}" CAROOT=${CERTS_DIR} mkcert -install CAROOT=${CERTS_DIR} mkcert -key-file ${CERTS_DIR}/domain.key -cert-file ${CERTS_DIR}/domain.crt ${REGISTRY_DOMAIN} ${DOMAIN} # Copy domain.crt, domain.key to nginx certs directory infolog "Copy certs to ${COMPOSE_CONFIG_DIR}" cp -f ${CERTS_DIR}/rootCA.pem ${RESOURCES_NGINX_DIR}/certs/rootCA.crt fi }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
好像没有复制证书到这个目录吧?
The text was updated successfully, but these errors were encountered: