Skip to content

Commit

Permalink
chore: don't run *_phase for Admin/Control API (#4266)
Browse files Browse the repository at this point in the history
Signed-off-by: spacewander <spacewanderlzx@gmail.com>
  • Loading branch information
spacewander authored May 19, 2021
1 parent adb76de commit cf483c6
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions apisix/cli/ngx_tpl.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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 %}
Expand Down Expand Up @@ -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 %}
Expand Down

0 comments on commit cf483c6

Please sign in to comment.