bugfix: removed rewrite phase.

This commit is contained in:
Yuansheng Wang 2019-06-06 10:40:14 +08:00 committed by YuanSheng Wang
parent fe22428ab5
commit b62b22a5ce
3 changed files with 1 additions and 9 deletions

View File

@ -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()
}

View File

@ -42,10 +42,6 @@ _EOC_
if (!$config) {
$config .= <<_EOC_;
location / {
rewrite_by_lua_block {
apisix.rewrite_phase()
}
access_by_lua_block {
apisix.access_phase()
}

View File

@ -13,7 +13,7 @@ __DATA__
location /t {
content_by_lua_block {
local apisix = require("apisix")
apisix.rewrite_phase()
apisix.access_phase()
}
}
--- request