nginx -tc 你要檢測的組態檔的路徑
D:\software\nginx\nginx-1.20.1>nginx -tc ./conf/nginx.conf
nginx: the configuration file ./conf/nginx.conf syntax is ok
nginx: configuration file ./conf/nginx.conf test is successful
正確的情況:

有誤的情況有:

轉載請註明出處,本文鏈接:https://www.uj5u.com/ruanti/348325.html
標籤:其他
