Browse Source

add debug message

neilpang 8 years ago
parent
commit
326c386b2e
1 changed files with 7 additions and 0 deletions
  1. 7 0
      acme.sh

+ 7 - 0
acme.sh

@@ -151,6 +151,13 @@ _dlg_versions() {
     echo "apache doesn't exists."
     echo "apache doesn't exists."
   fi
   fi
 
 
+  echo "nginx:"
+  if _exists "nginx"; then
+    nginx -V 2>&1
+  else
+    echo "nginx doesn't exists."
+  fi
+
   echo "nc:"
   echo "nc:"
   if _exists "nc"; then
   if _exists "nc"; then
     nc -h 2>&1
     nc -h 2>&1