Skip to content

Commit

Permalink
Update install-nginx.sh
Browse files Browse the repository at this point in the history
Correct previous commit!
  • Loading branch information
hyanwong authored Apr 8, 2024
1 parent 3fd883b commit 07cf603
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion install-nginx.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ NGINX_DHPARAM_PATH="${NGINX_PATH}/dhparam.pem"
# Generate NGINX_DHPARAM
[ -e "${NGINX_DHPARAM_PATH}" ] || openssl dhparam -out "${NGINX_DHPARAM_PATH}" 4096

if [ ! -f "${NGINX_CERT_PATH}/${PROJECT_PATH}/privkey" ]; then
if [ ! -f "${NGINX_CERT_PATH}/${WWW_SERVER_NAME}/privkey" ]; then
# Fall back to self-signed bootstrap-cert
NGINX_CERT_PATH="${NGINX_PATH}/snakeoil-certs/"
NGINX_CHALLENGE_PATH="/dev/null"
Expand Down

0 comments on commit 07cf603

Please sign in to comment.