Procházet zdrojové kódy

nginx: add -t example

Joe Archer před 9 roky
rodič
revize
31234c9e4b
1 změnil soubory, kde provedl 4 přidání a 0 odebrání
  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`