上面已经明确给出你原因了 nginx: [warn] the "ssl" directive is deprecated, use the "listen ... ssl" directive instead in
从nginx 1.15.0 开始ssl on已经移除,不需要再添加
Changes with nginx 1.15.0 05 Jun 2018
*) Change: the "ssl" directive is deprecated; the "ssl" parameter of the
"listen" directive should be used instead.