Skip to content
This repository has been archived by the owner on Feb 24, 2024. It is now read-only.

Commit

Permalink
use correct ssl globals variables in mkconf
Browse files Browse the repository at this point in the history
  • Loading branch information
Simon Jonsson committed Jul 3, 2015
1 parent a88c224 commit b144791
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions usr/share/openmediavault/mkconf/nginx.d/90-nginx-server
Expand Up @@ -145,8 +145,8 @@ generate_server_nginx_config()
fi

echo " listen ${ssl_listen_options};" >> ${config}
echo " ssl_certificate ${OMV_CERTIFICATE_DIR}/certs/${OMV_CERTIFICATE_PREFIX}${sslcertificateref}.crt;" >> ${config}
echo " ssl_certificate_key ${OMV_CERTIFICATE_DIR}/private/${OMV_CERTIFICATE_PREFIX}${sslcertificateref}.key;" >> ${config}
echo " ssl_certificate ${OMV_SSL_CERTIFICATE_DIR}/certs/${OMV_SSL_CERTIFICATE_PREFIX}${sslcertificateref}.crt;" >> ${config}
echo " ssl_certificate_key ${OMV_SSL_CERTIFICATE_DIR}/private/${OMV_SSL_CERTIFICATE_PREFIX}${sslcertificateref}.key;" >> ${config}
fi

# Set the server_name option if the server is name-based.
Expand Down

0 comments on commit b144791

Please sign in to comment.