Nginx驗證設定檔案

滿好用的指令,希望可以減少一些production時候設定檔錯誤造成server無法work的狀況...

# nginx -t
nginx: the configuration file /opt/local/etc/nginx/nginx.conf syntax is ok
nginx: configuration file /opt/local/etc/nginx/nginx.conf test is successful

這個網誌中的熱門文章

Bash判斷參數是否存在

Node.js package : forever