Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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: about 1 hour ago
JSON representation

Build ngx_mruby dynamic module for CentOS.

Awesome Lists containing this project

README

        

# ngx\_mruby-module-builder

[![Build Module CI](https://github.com/yano3/ngx_mruby-module-builder/actions/workflows/ci.yml/badge.svg)](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.