Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update module config file #36

Merged
merged 2 commits into from
May 25, 2019
Merged

Update module config file #36

merged 2 commits into from
May 25, 2019

Conversation

Lax
Copy link
Owner

@Lax Lax commented May 25, 2019

Nginx dynamic module build system can compile multiple modules in a single .so

Users can enable/disable HTTP or STREAM or both module[s] by --without-http or --with-stream

./configure options

  • HTTP(default)
    ./configure --add-dynamic-module=traffic-accounting-nginx-module
    module file ngx_http_accounting_module.so
  • HTTP+STREAM
    ./configure --add-dynamic-module=traffic-accounting-nginx-module --with-stream
    module file ngx_http_accounting_module.so
  • STREAM-only
    ./configure --add-dynamic-module=traffic-accounting-nginx-module --without-http --with-stream
    module file ngx_stream_accounting_module.so

fix #31 #32 #34 #35

Lax and others added 2 commits May 25, 2019 21:20
Nginx dynamic module build system can compile multiple modules in a single .so
* [`ngx_module_name`](https://www.nginx.com/resources/wiki/extending/new_config/\#key-ngx_module_name)

Users can enable/disable HTTP or STREAM or both module[s] by `--without-http` or `--with-stream`

Signed-off-by: Liu Lantao <liulantao@gmail.com>
@Lax Lax merged commit 712cf7f into master May 25, 2019
@Lax Lax deleted the fix-modules-build branch May 25, 2019 14:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

openresty 无法编译安装
1 participant