nginx: [emerg] unexpected “}” in /usr/local/nginx/conf/nginx.conf:128 出现这个报错,可能是写多东西了或者写少东西了 我这里是因为128行多了个 “}” 括号,把括号删除了就可以运行了。