https://github.com/yano3/ngx_mruby-module-builder
Build ngx_mruby dynamic module for CentOS.
https://github.com/yano3/ngx_mruby-module-builder
nginx ngx-mruby
Last synced: 2 months ago
JSON representation
Build ngx_mruby dynamic module for CentOS.
- Host: GitHub
- URL: https://github.com/yano3/ngx_mruby-module-builder
- Owner: yano3
- License: mit
- Created: 2020-02-27T12:02:30.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2022-09-09T14:13:21.000Z (almost 4 years ago)
- Last Synced: 2025-07-03T09:46:53.029Z (12 months ago)
- Topics: nginx, ngx-mruby
- Language: Ruby
- Homepage:
- Size: 24.4 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ngx\_mruby-module-builder
[](https://github.com/yano3/ngx_mruby-module-builder/actions/workflows/ci.yml)
Build [ngx\_mruby](https://ngx.mruby.org/) dynamic module for CentOS.
## Usage
Just execute `make`.
```
$ make
```
And, ngx\_mruby (`ngx_http_mruby_module.so`) and depended NDK (`ndk_http_module.so`) module files are created in your local `dist` directory.
```
$ ls ./dist
ndk_http_module.so ngx_http_mruby_module.so
```
### Specify version
You can specify versions of nginx and ngx\_mruby with make arguments.
```
$ make NGINX_VERSION:=1.23.1 NGX_MRUBY_VERSION:=2.2.5
```
### Customize build\_config.rb
If you want to adjust build configuration, you can edit `build_config.rb`.
This file is used instead of `build_config.rb` bundled with ngx\_mruby on build.