Skip to content

Add abbility to change HTTP reply code from LUA procedure. #74

Closed
@amdei

Description

@amdei

It would be quite nice to have abbility to send arbitrary HTTP reply code from within called LUA procedure.

In particular, it will make possible to utilize http://nginx.org/en/docs/http/ngx_http_auth_request_module.html for access control, based on result of LUA function invocation.

AFAICS, we could control only reply body so far.
If this feature already available, would be good to see example in readme.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions