- NGINX Cookbook
- Tim Butler
- 68字
- 2021-07-03 00:04:19
There's more...
We can check the NGINX configuration files after changes are made to ensure the syntax is correct. To do this, we run the following:
/usr/sbin/nginx -t
You should see the following if everything is correct:
nginx: the configuration file /etc/nginx/nginx.conf syntax is ok
nginx: configuration file /etc/nginx/nginx.conf test is successful
If you have any errors, double check your configuration for syntax errors on the lines indicated.
推薦閱讀
- Google Apps Script for Beginners
- 深入理解Django:框架內幕與實現原理
- Python自動化運維快速入門
- 基于免疫進化的算法及應用研究
- 用Flutter極速構建原生應用
- C語言程序設計
- PhoneGap:Beginner's Guide(Third Edition)
- Learning Hunk
- Java系統化項目開發教程
- Salesforce Reporting and Dashboards
- Building Serverless Architectures
- Elasticsearch Essentials
- Vue.js光速入門及企業項目開發實戰
- SQL Server 2008實用教程(第3版)
- 自己動手構建編程語言:如何設計編譯器、解釋器和DSL