后台报错信息:
2024/08/20 18:42:37 [emerg] 4772#5680: unknown directive "" in D:\ship\app\nginx/conf/nginx.conf:3
2024/08/20 18:43:22 [emerg] 5460#5416: unknown directive "" in D:\ship\app\nginx/conf/nginx.conf:3
2024/08/20 18:48:41 [emerg] 4912#4876: unknown directive "" in D:\ship\app\nginx/conf/nginx.conf:3
处理方法:
用文本编辑将nignx配置文件设置编码的格式 去掉 BOM的那种utf8格式