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 <