Merge pull request #1732 from progrium/1729_mh-fix-certs-gen
do not chown file that doesn't exist
This commit is contained in:
commit
0606d1a805
1 file changed
+1
-1
@@ -95,7 +95,7 @@ case "$1" in
|
|||||||
dokku_log_info1 "Installing certificate and key..."
|
dokku_log_info1 "Installing certificate and key..."
|
||||||
mv -f $TMP_WORK_DIR/server.key $TMP_WORK_DIR/server.crt $APP_SSL_PATH
|
mv -f $TMP_WORK_DIR/server.key $TMP_WORK_DIR/server.crt $APP_SSL_PATH
|
||||||
chmod 750 $APP_SSL_PATH
|
chmod 750 $APP_SSL_PATH
|
||||||
chmod 640 $APP_SSL_PATH/server.key $APP_SSL_PATH/server.crt $APP_SSL_PATH/server.csr
|
chmod 640 $APP_SSL_PATH/server.key $APP_SSL_PATH/server.crt
|
||||||
[[ -n "$DOMAIN" ]] && (dokku domains:add $APP $DOMAIN || nginx_build_config $APP)
|
[[ -n "$DOMAIN" ]] && (dokku domains:add $APP $DOMAIN || nginx_build_config $APP)
|
||||||
dokku_log_info1 "The following is a certificate signing request that can be used"
|
dokku_log_info1 "The following is a certificate signing request that can be used"
|
||||||
dokku_log_info1 "to generate an 'officially' signed SSL certificate for $APP at $DOMAIN"
|
dokku_log_info1 "to generate an 'officially' signed SSL certificate for $APP at $DOMAIN"
|
||||||
|
|||||||
Reference in new issue
Block a user