windows 中nginx奇葩報錯 nginx: [emerg] unknown directive "#" in nginx/conf/nginx.conf:3
經過: 用記事本開啟nginx.conf 配置檔案,後來啟動nginx就開始報錯,報錯內容如下
nginx: [emerg] unknown directive "#" in nginx/conf/nginx.conf:3
nginx: [emerg] unknown directive "#user" in nginx/conf/nginx.conf:1
解決辦法,新建nginx.conf 儲存為utf8格式檔案
相關文章
- 解決nginx: [emerg] unknown directive “stream“ in /etc/nginx/nginx.conf問題Nginx
- nginx: [emerg] "user" directive is not allowed here in /etc/nginx/conf.d/nginx.conf:1Nginx
- Nginx 中 nginx.conf 詳解Nginx
- nginx 啟動報錯 unknown directive "server"NginxServer
- 從執行中的nginx 中找到nginx.confNginx
- Nginx 配置檔案 nginx.conf 詳解Nginx
- Nginx 配置檔案 nginx.conf 中文詳解Nginx
- /etc/nginx/nginx.conf配置檔案詳解Nginx
- Nginx配置檔案nginx.conf中文詳解Nginx
- Nginx官方推薦的nginx.conf標準配置Nginx
- 附:Nginx配置檔案nginx.conf中文詳解Nginx
- Nginx配置檔案nginx.conf中文詳解(轉)Nginx
- Nginx配置檔案nginx.conf中文詳解(總結)Nginx
- Nginx基礎02:配置檔案nginx.conf(Part1)Nginx
- Nginx的nginx.conf配置檔案中文註釋說明Nginx
- [轉]Nginx 配置檔案nginx.conf的完整配置說明Nginx
- nginx.conf 配置檔案詳解Nginx
- nginx.conf的完整配置說明Nginx
- Nginx伺服器配置檔案nginx.conf例項詳解Nginx伺服器
- 詳解nginx伺服器的nginx.conf 中 root目錄設定問題Nginx伺服器
- 啟動nginx服務提示 nginx: [emerg] still could notNginx
- nginx安裝報錯Nginx
- nginx + php (zabbix)報錯分析NginxPHP
- Centos下yum安裝Nginx報錯 No package nginx available.CentOSNginxPackageAI
- nginx + django on windowsNginxDjangoWindows
- nginx部署(13:Permission denied)報錯Nginx
- nginx FastCGI錯誤Primary script unknown解決辦法NginxAST
- nginx中報Access denied.Nginx
- Nginx-05-nginx 反向代理是什麼?windows 下如何配置使用 nginxNginxWindows
- 記錄一個 Nginx-FastCGI-"Primary script unknown" 錯誤NginxAST
- WINDOWS下Nginx命令WindowsNginx
- Centos7啟動Nginx報錯。CentOSNginx
- 聊聊nginx報錯499問題Nginx
- nginx+phpfpm日誌報錯資訊NginxPHP
- 【Nginx】併發量太高,Nginx扛不住?這次我錯怪Nginx了!!Nginx
- 【Nginx】Nginx容器Nginx
- nginx 錯誤除錯Nginx除錯
- openresty/nginx配置多個conf檔案RESTNginx