以下の内容はhttps://shmokmt.hatenablog.com/entry/2022/08/05/172633より取得しました。


Nginxで設定ファイルの構文チェックを実施する

-t — test the configuration file: nginx checks the configuration for correct syntax, and then tries to open files referred in the configuration.

http://nginx.org/en/docs/switches.html

nginx -t で設定ファイルのバリデーションを実行できます。引っかかった場合は異常終了してくれるので、DockerコンテナでNginxを運用してる方は イメージビルド時にチェックしてあげたりすると良さそうです。




以上の内容はhttps://shmokmt.hatenablog.com/entry/2022/08/05/172633より取得しました。
このページはhttp://font.textar.tv/のウェブフォントを使用してます

不具合報告/要望等はこちらへお願いします。
モバイルやる夫Viewer Ver0.14