You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by to...@apache.org on 2021/05/19 03:12:04 UTC
[apisix] branch master updated: chore: don't run *_phase for
Admin/Control API (#4266)
This is an automated email from the ASF dual-hosted git repository.
tokers pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/apisix.git
The following commit(s) were added to refs/heads/master by this push:
new cf483c6 chore: don't run *_phase for Admin/Control API (#4266)
cf483c6 is described below
commit cf483c610e24945840fa157294d8614af370f653
Author: 罗泽轩 <sp...@gmail.com>
AuthorDate: Wed May 19 11:11:53 2021 +0800
chore: don't run *_phase for Admin/Control API (#4266)
Signed-off-by: spacewander <sp...@gmail.com>
---
apisix/cli/ngx_tpl.lua | 14 --------------
1 file changed, 14 deletions(-)
diff --git a/apisix/cli/ngx_tpl.lua b/apisix/cli/ngx_tpl.lua
index a5a6d3d..8de3bd1 100644
--- a/apisix/cli/ngx_tpl.lua
+++ b/apisix/cli/ngx_tpl.lua
@@ -299,13 +299,6 @@ http {
location @50x.html {
set $from_error_page 'true';
try_files /50x.html $uri;
- header_filter_by_lua_block {
- apisix.http_header_filter_phase()
- }
-
- log_by_lua_block {
- apisix.http_log_phase()
- }
}
}
{% end %}
@@ -388,13 +381,6 @@ http {
location @50x.html {
set $from_error_page 'true';
try_files /50x.html $uri;
- header_filter_by_lua_block {
- apisix.http_header_filter_phase()
- }
-
- log_by_lua_block {
- apisix.http_log_phase()
- }
}
}
{% end %}