1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-29 23:24:55 +02:00
tldr/pages.ja/common/nginx.md

25 lines
637 B
Markdown
Raw Normal View History

# nginx
> Nginx ウェブサーバ。
> もっと詳しく: <https://nginx.org/en/>。
- デフォルトの設定ファイルでサーバーを起動する:
`nginx`
- カスタム設定ファイルでサーバを起動する:
`nginx -c {{設定ファイル}}`
- 設定ファイル内の全ての相対パスのプレフィクスを指定して、サーバを起動する:
`nginx -c {{設定ファイル}} -p {{prefix/for/relative/paths}}`
- 実行中のサーバに影響を与えずに設定をテストする:
`nginx -t`
- ダウンタイムなしでシグナルを送って、設定をリロードする:
`nginx -s reload`