Accept cookies for analytics, social media, and advertising, or learn more and adjust your preferences. These cookies are on by default for visitors outside the UK and EEA. Privacy Notice.
静的モジュールはコンパイル時にNGINXサーバのバイナリにコンパイルされます。ビルドシステムにモジュールをコンパイルして入れることを伝えるには、以下のように./configure
に add-module
パラメータを使う必要があります:
$ ./configure --prefix=/opt/nginx --add-module=/path/to/my-module
ビルドシステムはconfig ファイルを探し、この中の情報を使ってモジュールをビルドするでしょう。
静的モジュールの変換ガイド内の動的モジュールのコンパイリング を見てください。