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

[configuration] per request configuration store #289

Merged
merged 5 commits into from
Mar 9, 2017
Merged

Conversation

mikz
Copy link
Contributor

@mikz mikz commented Mar 8, 2017

unfortunately post_action is ruining the party
because it can't share context it needs to use some global table
and some random identifier

closes #224

nginx will set env to the correct value **after** running init_by_lua
so the env values set like `env FOO=bar;` are not visible for code
evaluated in the init_by_lua
however, they are properly forwarded if they are set before
@mikz mikz force-pushed the per-request-config branch 6 times, most recently from b59ad7e to 16d3566 Compare March 9, 2017 13:22
mikz added 4 commits March 9, 2017 16:55
unfortunately post_action is ruining the party
because it can't share context it needs to use some global table
and some random identifier
@mikz mikz force-pushed the per-request-config branch from d4166d2 to 1ef703c Compare March 9, 2017 15:55
@mikz mikz mentioned this pull request Mar 9, 2017
1 task
@mikz mikz merged commit 7414c22 into master Mar 9, 2017
@mikz mikz deleted the per-request-config branch March 9, 2017 16:02
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.

Per request configuration store
2 participants