forked from openresty/lua-nginx-module
-
Notifications
You must be signed in to change notification settings - Fork 0
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
feat: server rewrite code #2
Open
xiaobiaozhao
wants to merge
15
commits into
master
Choose a base branch
from
feature_server_rewrite
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
xiaobiaozhao
force-pushed
the
feature_server_rewrite
branch
5 times, most recently
from
February 25, 2022 16:40
97f4547
to
d84ed91
Compare
zhuizhuhaomeng
force-pushed
the
feature_server_rewrite
branch
from
March 7, 2022 12:11
3f050db
to
d7ac596
Compare
Signed-off-by: spacewander <spacewanderlzx@gmail.com>
…riting the original pid file. (openresty#2024)
…k:sslhandshake` with FFI This adds support for setting client certificate/private key that will be used later for mutual TLS handshake with a server. Also, the `tcpsock:sslhandshake` implementation has been rewritten to use FFI C API to be more performant and easier to maintain. Co-authored-by: Chrono Law <chrono.law@konghq.com>
add 2 directive 1. server_rewrite_by_lua_block 2. server_rewrite_by_lua_file
zhuizhuhaomeng
force-pushed
the
feature_server_rewrite
branch
from
March 19, 2022 13:16
ac8ed38
to
900a3c2
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Why do we need this PR?
Currently, only NGX_HTTP_REWRITE_PHASE has lua modules. If you need use lua code in NGX_HTTP_SERVER_REWRITE_PHASE, you need to develop nginx C modules. So I make this PR solve the problem
Add 3 directive
I hereby granted the copyright of the changes in this pull request
to the authors of this lua-nginx-module project.