mirror of
https://gitee.com/iresty/apisix.git
synced 2024-12-02 12:07:35 +08:00
bugfix: removed rewrite
phase.
This commit is contained in:
parent
fe22428ab5
commit
b62b22a5ce
@ -87,10 +87,6 @@ http {
|
||||
set $upstream_connection '';
|
||||
set $upstream_uri '';
|
||||
|
||||
rewrite_by_lua_block {
|
||||
apisix.rewrite_phase()
|
||||
}
|
||||
|
||||
access_by_lua_block {
|
||||
apisix.access_phase()
|
||||
}
|
||||
|
@ -42,10 +42,6 @@ _EOC_
|
||||
if (!$config) {
|
||||
$config .= <<_EOC_;
|
||||
location / {
|
||||
rewrite_by_lua_block {
|
||||
apisix.rewrite_phase()
|
||||
}
|
||||
|
||||
access_by_lua_block {
|
||||
apisix.access_phase()
|
||||
}
|
||||
|
@ -13,7 +13,7 @@ __DATA__
|
||||
location /t {
|
||||
content_by_lua_block {
|
||||
local apisix = require("apisix")
|
||||
apisix.rewrite_phase()
|
||||
apisix.access_phase()
|
||||
}
|
||||
}
|
||||
--- request
|
||||
|
Loading…
Reference in New Issue
Block a user