Skip to content

Commit 9cc655c

Browse files
committed
v1.9.2 新特性
- 支持手动申请证书 - 增加nginx测试不同通提示 - 解决管道`1`的问题 - 优化DNS配置检测 - 完善开发文档
1 parent 71ee76b commit 9cc655c

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

httpsok.sh

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
# Try to run "bash -version" to check the version.
77
# Try to visit WIKI to find a solution.
88

9-
VER=1.9.0
9+
VER=1.9.2
1010

1111
PROJECT_NAME="httpsok"
1212
PROJECT_ENTRY="httpsok.sh"
@@ -519,7 +519,7 @@ _preparse() {
519519
tmp_name="/tmp/2nLN3ZspTMGifYtO.tmp"
520520
echo "$config_text" > $tmp_name
521521
preparse=$(_post2 "/preparse" "$tmp_name")
522-
rm -rf "$tmp_name" > /dev/null 2&>1
522+
rm -rf "$tmp_name" > /dev/null 2>&1
523523
if [ "$preparse" = "" ]; then
524524
return 4
525525
fi
@@ -599,7 +599,7 @@ _reload_nginx() {
599599
if [ $? != 0 ]; then
600600
_remote_log "nginx-test-failed" "$latest_code" "$msg"
601601
echo
602-
_err "Nginx test failed."
602+
_err "Nginx test failed. \n\n$msg"
603603
else
604604
msg=$($nginx_bin -s reload 2>&1)
605605
if [ "$msg" = "" ]; then
@@ -832,6 +832,8 @@ _run() {
832832
echo ""
833833
return 4
834834
fi
835+
_info "Checking SSL certificate, please wait a moment."
836+
echo
835837
_upload_certs
836838
_check_dns
837839
_check_certs

0 commit comments

Comments
 (0)