浏览代码

nginx: add -t example

Joe Archer 9 年之前
父节点
当前提交
31234c9e4b
共有 1 个文件被更改,包括 4 次插入0 次删除
  1. 4 0
      pages/common/nginx.md

+ 4 - 0
pages/common/nginx.md

@@ -13,3 +13,7 @@
 - Start server with a prefix for all relative paths in config file
 
 `nginx -c {{config_file}} -p {{prefix/for/relative/paths}}`
+
+- Test configuration without affecting the running server
+
+`nginx -t`