Merge pull request #868 from Neilpang/dev

minor, add debug info
This commit is contained in:
neil 2017-06-05 21:02:38 +08:00 committed by GitHub
commit 4e3c82e329

View File

@ -2579,7 +2579,7 @@ location ~ \"^/\.well-known/acme-challenge/([-_a-zA-Z0-9]+)\$\" {
_err "write nginx conf error, but don't worry, the file is restored."
return 1
fi
_debug3 "Modified config:$(cat $FOUND_REAL_NGINX_CONF)"
_info "nginx conf is done, let's check it again."
if ! _exec "nginx -t" >/dev/null; then
_exec_err