windows服務器更新后發現 nginx 啟動 發現鏈接不上
使用停止命令后出現錯誤 unknown directive "?諾" 感覺可能啟動失敗了
于是檢查報錯日志發現出現錯誤 2021/10/06 11:27:14 [emerg] 17092#16872: unknown directive "" in C:\Users\Administrator\Desktop\nginx/conf/nginx.conf:3
因為出現不知道 “”和在命令列出現的“?諾” 所以猜測可能是編碼出現了問題,通過notepad打開·發現uft-8的編碼變成了 utf-8 BOM
真死亡,擦
轉載請註明出處,本文鏈接:https://www.uj5u.com/ruanti/305925.html
標籤:其他
上一篇:org.springframework.http.converter.HttpMessageNotReadableException 解決方案
