chore: don't run *_phase for Admin/Control API (#4266)

Signed-off-by: spacewander <spacewanderlzx@gmail.com>
This commit is contained in:
罗泽轩 2021-05-19 11:11:53 +08:00 committed by GitHub
parent adb76de293
commit cf483c610e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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 %}