nginx配置报错unknown directive “ “解决方案

慎志国
2023-12-01

报错类似:

unknown directive " " in /opt/nginx/nginx-1.20.2-installed/conf/nginx.conf:59

这种就是编码问题,从别的地方粘贴过来的配置不是utf-8编码,复制出来 按照utf-8编码编码然后更新配置即可

 类似资料: