随笔分类 -  Nginx

摘要:想检查一个配置文件是否正确,-c 指定之后发现有报错,如下: [root@op-2:~# nginx -t -c /etc/nginx/conf.d/default.conf nginx: [emerg] "server" directive is not allowed here in /etc/ 阅读全文
posted @ 2019-11-15 14:10 sucre_tan 阅读(5787) 评论(0) 推荐(0)