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

Support multi path per directive #128

Open
matsumotory opened this issue Aug 2, 2015 · 2 comments
Open

Support multi path per directive #128

matsumotory opened this issue Aug 2, 2015 · 2 comments

Comments

@matsumotory
Copy link
Owner

I want to support multi path per directive like the following example:

location /mruby {
  mruby_content_handler_multi /path/to/A.rb /path/to/B.rb /path/to/C.rb
}

First, ngx_mruby run A.rb. Then run B.rb, Finally run C.rb at mruby_content_handler phase.

@matsumotory
Copy link
Owner Author

Patches are welcome!!

@matsumotory
Copy link
Owner Author

location /mruby {
  mruby_content_handler a.rb [cache] b.rb [cache] ...
}

it also looks good to me.

DaveWillkomm pushed a commit to DaveWillkomm/jwtap that referenced this issue May 4, 2017
* As ngx_mruby does not yet support this (see matsumotory/ngx_mruby#128),
  implemented mruby_directive_paths.rb
* Spec options is an OpenStruct, so don't need to use Hash syntax ;)
* Renamed spec/functional/lib/jwtap/access_handler_spec.rb as lib/jwtap_spec.rb
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant