From dfac47cbe27024324c7c724f01cc0c5fdaa4dd4b Mon Sep 17 00:00:00 2001 From: Stafford Brunk Date: Thu, 3 Apr 2014 07:15:21 -0600 Subject: [PATCH] Allow symlinks for SSL cert detection in nginx-vhosts post-deploy --- plugins/nginx-vhosts/post-deploy | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/nginx-vhosts/post-deploy b/plugins/nginx-vhosts/post-deploy index 3b895883b..d9bf16432 100755 --- a/plugins/nginx-vhosts/post-deploy +++ b/plugins/nginx-vhosts/post-deploy @@ -13,14 +13,14 @@ if [[ -f "$DOKKU_ROOT/VHOST" ]]; then hostname="${APP/\//-}.$VHOST" fi - if [[ -f "$SSL/server.crt" ]] && [[ -f "$SSL/server.key" ]]; then + if [[ -e "$SSL/server.crt" ]] && [[ -e "$SSL/server.key" ]]; then SSL_INUSE="$SSL" SSL_DIRECTIVES=$(cat <