重启LNMP之后,发现nginx无法启动,导致网页无法访问
[root@******** ~]# service nginx restart
Stoping nginx... nginx is not running.
Starting nginx... nginx: [emerg] unexpected "}" in /usr/local/nginx/conf/nginx.conf:96
failed
发现是nginx.conf:96错误

网上找到了解决办法:第95行结尾加上分号
重启,成功